home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 May / CMCD0504.ISO / Software / Freeware / Programare / dspack / DSPACK231.exe / {app} / src / DirectX9 / WMF9.pas < prev   
Encoding:
Pascal/Delphi Source File  |  2003-02-22  |  497.6 KB  |  15,614 lines

  1.     (*********************************************************************
  2.      *  Windows Media Format 9 API                                       *
  3.      *                                                                   *
  4.      * home page : http://www.progdigy.com                               *
  5.      * email     : hgourvest@progdigy.com                                *
  6.      *                                                                   *
  7.      * date      : 21-02-2003                                            *
  8.      *                                                                   *
  9.      * The contents of this file are used with permission, subject to    *
  10.      * the Mozilla Public License Version 1.1 (the "License"); you may   *
  11.      * not use this file except in compliance with the License. You may  *
  12.      * obtain a copy of the License at                                   *
  13.      * http://www.mozilla.org/MPL/MPL-1.1.html                           *
  14.      *                                                                   *
  15.      * wmsdkvalidate.h, wmdxva.idl, wmnetsourcecreator.idl,              *
  16.      * wmsbuffer.idl, drmexternals.id, asferr.h, wmsysprf.h,             *
  17.      * WMSInternalAdminNetSource.idl, wmsdkidl.idl, dshowasf.idl         *
  18.      *                                                                   *
  19.      * Software distributed under the License is distributed on an       *
  20.      * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or    *
  21.      * implied. See the License for the specific language governing      *
  22.      * rights and limitations under the License.                         *
  23.      *                                                                   *
  24.      *********************************************************************)
  25.  
  26. unit WMF9;
  27.  
  28. interface
  29. {$I DirectX.inc}
  30.  
  31. {$IFDEF DYNAMIC_LINK_ALL}
  32.   {$DEFINE WMF9_DYNAMIC_LINK}
  33. {$ENDIF}
  34.  
  35. {$HPPEMIT '#include "asferr.h"'}
  36. {$HPPEMIT '#include "drmexternals.h"'}
  37. {$HPPEMIT '#include "dshowasf.h"'}
  38. {$HPPEMIT '#include "nserror.h"'}
  39. {$HPPEMIT '#include "wmdxva.h"'}
  40. {$HPPEMIT '#include "wmnetsourcecreator.h"'}
  41. {$HPPEMIT '#include "wmsbuffer.h"'}
  42. {$HPPEMIT '#include "wmsdk.h"'}
  43. {$HPPEMIT '#include "wmsdkidl.h"'}
  44. {$HPPEMIT '#include "wmsdkvalidate.h"'}
  45. {$HPPEMIT '#include "wmsinternaladminnetsource.h"'}
  46. {$HPPEMIT '#include "wmsysprf.h"'}
  47.  
  48. uses Windows, ActiveX, DirectShow9;
  49.  
  50.  
  51. //*@@@+++@@@@******************************************************************
  52. //
  53. // Microsoft Windows Media
  54. // Copyright (C) Microsoft Corporation. All rights reserved.
  55. //
  56. //*@@@---@@@@******************************************************************
  57.  
  58. const
  59.   WMProfile_V40_DialUpMBR              : TGUID = '{fd7f47f1-72a6-45a4-80f0-3aecefc32c07}';
  60.   {$EXTERNALSYM WMProfile_V40_DialUpMBR}
  61.   WMProfile_V40_IntranetMBR            : TGUID = '{82cd3321-a94a-4ffc-9c2b-092c10ca16e7}';
  62.   {$EXTERNALSYM WMProfile_V40_IntranetMBR}
  63.   WMProfile_V40_2856100MBR             : TGUID = '{5a1c2206-dc5e-4186-beb2-4c5a994b132e}';
  64.   {$EXTERNALSYM WMProfile_V40_2856100MBR}
  65.   WMProfile_V40_6VoiceAudio            : TGUID = '{D508978A-11A0-4d15-B0DA-ACDC99D4F890}';
  66.   {$EXTERNALSYM WMProfile_V40_6VoiceAudio}
  67.   WMProfile_V40_16AMRadio              : TGUID = '{0f4be81f-d57d-41e1-b2e3-2fad986bfec2}';
  68.   {$EXTERNALSYM WMProfile_V40_16AMRadio}
  69.   WMProfile_V40_288FMRadioMono         : TGUID = '{7fa57fc8-6ea4-4645-8abf-b6e5a8f814a1}';
  70.   {$EXTERNALSYM WMProfile_V40_288FMRadioMono}
  71.   WMProfile_V40_288FMRadioStereo       : TGUID = '{22fcf466-aa40-431f-a289-06d0ea1a1e40}';
  72.   {$EXTERNALSYM WMProfile_V40_288FMRadioStereo}
  73.   WMProfile_V40_56DialUpStereo         : TGUID = '{e8026f87-e905-4594-a3c7-00d00041d1d9}';
  74.   {$EXTERNALSYM WMProfile_V40_56DialUpStereo}
  75.   WMProfile_V40_64Audio                : TGUID = '{4820b3f7-cbec-41dc-9391-78598714c8e5}';
  76.   {$EXTERNALSYM WMProfile_V40_64Audio}
  77.   WMProfile_V40_96Audio                : TGUID = '{0efa0ee3-9e64-41e2-837f-3c0038f327ba}';
  78.   {$EXTERNALSYM WMProfile_V40_96Audio}
  79.   WMProfile_V40_128Audio               : TGUID = '{93ddbe12-13dc-4e32-a35e-40378e34279a}';
  80.   {$EXTERNALSYM WMProfile_V40_128Audio}
  81.   WMProfile_V40_288VideoVoice          : TGUID = '{bb2bc274-0eb6-4da9-b550-ecf7f2b9948f}';
  82.   {$EXTERNALSYM WMProfile_V40_288VideoVoice}
  83.   WMProfile_V40_288VideoAudio          : TGUID = '{ac617f2d-6cbe-4e84-8e9a-ce151a12a354}';
  84.   {$EXTERNALSYM WMProfile_V40_288VideoAudio}
  85.   WMProfile_V40_288VideoWebServer      : TGUID = '{abf2f00d-d555-4815-94ce-8275f3a70bfe}';
  86.   {$EXTERNALSYM WMProfile_V40_288VideoWebServer}
  87.   WMProfile_V40_56DialUpVideo          : TGUID = '{e21713bb-652f-4dab-99de-71e04400270f}';
  88.   {$EXTERNALSYM WMProfile_V40_56DialUpVideo}
  89.   WMProfile_V40_56DialUpVideoWebServer : TGUID = '{b756ff10-520f-4749-a399-b780e2fc9250}';
  90.   {$EXTERNALSYM WMProfile_V40_56DialUpVideoWebServer}
  91.   WMProfile_V40_100Video               : TGUID = '{8f99ddd8-6684-456b-a0a3-33e1316895f0}';
  92.   {$EXTERNALSYM WMProfile_V40_100Video}
  93.   WMProfile_V40_250Video               : TGUID = '{541841c3-9339-4f7b-9a22-b11540894e42}';
  94.   {$EXTERNALSYM WMProfile_V40_250Video}
  95.   WMProfile_V40_512Video               : TGUID = '{70440e6d-c4ef-4f84-8cd0-d5c28686e784}';
  96.   {$EXTERNALSYM WMProfile_V40_512Video}
  97.   WMProfile_V40_1MBVideo               : TGUID = '{b4482a4c-cc17-4b07-a94e-9818d5e0f13f}';
  98.   {$EXTERNALSYM WMProfile_V40_1MBVideo}
  99.   WMProfile_V40_3MBVideo               : TGUID = '{55374ac0-309b-4396-b88f-e6e292113f28}';
  100.   {$EXTERNALSYM WMProfile_V40_3MBVideo}
  101.  
  102.   WMProfile_V70_DialUpMBR              : TGUID = '{5B16E74B-4068-45b5-B80E-7BF8C80D2C2F}';
  103.   {$EXTERNALSYM WMProfile_V70_DialUpMBR}
  104.   WMProfile_V70_IntranetMBR            : TGUID = '{045880DC-34B6-4ca9-A326-73557ED143F3}';
  105.   {$EXTERNALSYM WMProfile_V70_IntranetMBR}
  106.   WMProfile_V70_2856100MBR             : TGUID = '{07DF7A25-3FE2-4a5b-8B1E-348B0721CA70}';
  107.   {$EXTERNALSYM WMProfile_V70_2856100MBR}
  108.   WMProfile_V70_288VideoVoice          : TGUID = '{B952F38E-7DBC-4533-A9CA-B00B1C6E9800}';
  109.   {$EXTERNALSYM WMProfile_V70_288VideoVoice}
  110.   WMProfile_V70_288VideoAudio          : TGUID = '{58BBA0EE-896A-4948-9953-85B736F83947}';
  111.   {$EXTERNALSYM WMProfile_V70_288VideoAudio}
  112.   WMProfile_V70_288VideoWebServer      : TGUID = '{70A32E2B-E2DF-4ebd-9105-D9CA194A2D50}';
  113.   {$EXTERNALSYM WMProfile_V70_288VideoWebServer}
  114.   WMProfile_V70_56VideoWebServer       : TGUID = '{DEF99E40-57BC-4ab3-B2D1-B6E3CAF64257}';
  115.   {$EXTERNALSYM WMProfile_V70_56VideoWebServer}
  116.   WMProfile_V70_64VideoISDN            : TGUID = '{C2B7A7E9-7B8E-4992-A1A1-068217A3B311}';
  117.   {$EXTERNALSYM WMProfile_V70_64VideoISDN}
  118.   WMProfile_V70_100Video               : TGUID = '{D9F3C932-5EA9-4c6d-89B4-2686E515426E}';
  119.   {$EXTERNALSYM WMProfile_V70_100Video}
  120.   WMProfile_V70_256Video               : TGUID = '{AFE69B3A-403F-4a1b-8007-0E21CFB3DF84}';
  121.   {$EXTERNALSYM WMProfile_V70_256Video}
  122.   WMProfile_V70_384Video               : TGUID = '{F3D45FBB-8782-44df-97C6-8678E2F9B13D}';
  123.   {$EXTERNALSYM WMProfile_V70_384Video}
  124.   WMProfile_V70_768Video               : TGUID = '{0326EBB6-F76E-4964-B0DB-E729978D35EE}';
  125.   {$EXTERNALSYM WMProfile_V70_768Video}
  126.   WMProfile_V70_1500Video              : TGUID = '{0B89164A-5490-4686-9E37-5A80884E5146}';
  127.   {$EXTERNALSYM WMProfile_V70_1500Video}
  128.   WMProfile_V70_2000Video              : TGUID = '{AA980124-BF10-4e4f-9AFD-4329A7395CFF}';
  129.   {$EXTERNALSYM WMProfile_V70_2000Video}
  130.   WMProfile_V70_700FilmContentVideo    : TGUID = '{7A747920-2449-4d76-99CB-FDB0C90484D4}';
  131.   {$EXTERNALSYM WMProfile_V70_700FilmContentVideo}
  132.   WMProfile_V70_1500FilmContentVideo   : TGUID = '{F6A5F6DF-EE3F-434c-A433-523CE55F516B}';
  133.   {$EXTERNALSYM WMProfile_V70_1500FilmContentVideo}
  134.   WMProfile_V70_6VoiceAudio            : TGUID = '{EABA9FBF-B64F-49b3-AA0C-73FBDD150AD0}';
  135.   {$EXTERNALSYM WMProfile_V70_6VoiceAudio}
  136.   WMProfile_V70_288FMRadioMono         : TGUID = '{C012A833-A03B-44a5-96DC-ED95CC65582D}';
  137.   {$EXTERNALSYM WMProfile_V70_288FMRadioMono}
  138.   WMProfile_V70_288FMRadioStereo       : TGUID = '{E96D67C9-1A39-4dc4-B900-B1184DC83620}';
  139.   {$EXTERNALSYM WMProfile_V70_288FMRadioStereo}
  140.   WMProfile_V70_56DialUpStereo         : TGUID = '{674EE767-0949-4fac-875E-F4C9C292013B}';
  141.   {$EXTERNALSYM WMProfile_V70_56DialUpStereo}
  142.   WMProfile_V70_64AudioISDN            : TGUID = '{91DEA458-9D60-4212-9C59-D40919C939E4}';
  143.   {$EXTERNALSYM WMProfile_V70_64AudioISDN}
  144.   WMProfile_V70_64Audio                : TGUID = '{B29CFFC6-F131-41db-B5E8-99D8B0B945F4}';
  145.   {$EXTERNALSYM WMProfile_V70_64Audio}
  146.   WMProfile_V70_96Audio                : TGUID = '{A9D4B819-16CC-4a59-9F37-693DBB0302D6}';
  147.   {$EXTERNALSYM WMProfile_V70_96Audio}
  148.   WMProfile_V70_128Audio               : TGUID = '{C64CF5DA-DF45-40d3-8027-DE698D68DC66}';
  149.   {$EXTERNALSYM WMProfile_V70_128Audio}
  150.   WMProfile_V70_225VideoPDA            : TGUID = '{F55EA573-4C02-42b5-9026-A8260C438A9F}';
  151.   {$EXTERNALSYM WMProfile_V70_225VideoPDA}
  152.   WMProfile_V70_150VideoPDA            : TGUID = '{0F472967-E3C6-4797-9694-F0304C5E2F17}';
  153.   {$EXTERNALSYM WMProfile_V70_150VideoPDA}
  154.  
  155.   WMProfile_V80_255VideoPDA            : TGUID = '{FEEDBCDF-3FAC-4c93-AC0D-47941EC72C0B}';
  156.   {$EXTERNALSYM WMProfile_V80_255VideoPDA}
  157.   WMProfile_V80_150VideoPDA            : TGUID = '{AEE16DFA-2C14-4a2f-AD3F-A3034031784F}';
  158.   {$EXTERNALSYM WMProfile_V80_150VideoPDA}
  159.   WMProfile_V80_28856VideoMBR          : TGUID = '{D66920C4-C21F-4ec8-A0B4-95CF2BD57FC4}';
  160.   {$EXTERNALSYM WMProfile_V80_28856VideoMBR}
  161.   WMProfile_V80_100768VideoMBR         : TGUID = '{5BDB5A0E-979E-47d3-9596-73B386392A55}';
  162.   {$EXTERNALSYM WMProfile_V80_100768VideoMBR}
  163.   WMProfile_V80_288100VideoMBR         : TGUID = '{D8722C69-2419-4b36-B4E0-6E17B60564E5}';
  164.   {$EXTERNALSYM WMProfile_V80_288100VideoMBR}
  165.   WMProfile_V80_288Video               : TGUID = '{3DF678D9-1352-4186-BBF8-74F0C19B6AE2}';
  166.   {$EXTERNALSYM WMProfile_V80_288Video}
  167.   WMProfile_V80_56Video                : TGUID = '{254E8A96-2612-405c-8039-F0BF725CED7D}';
  168.   {$EXTERNALSYM WMProfile_V80_56Video}
  169.   WMProfile_V80_100Video               : TGUID = '{A2E300B4-C2D4-4fc0-B5DD-ECBD948DC0DF}';
  170.   {$EXTERNALSYM WMProfile_V80_100Video}
  171.   WMProfile_V80_256Video               : TGUID = '{BBC75500-33D2-4466-B86B-122B201CC9AE}';
  172.   {$EXTERNALSYM WMProfile_V80_256Video}
  173.   WMProfile_V80_384Video               : TGUID = '{29B00C2B-09A9-48bd-AD09-CDAE117D1DA7}';
  174.   {$EXTERNALSYM WMProfile_V80_384Video}
  175.   WMProfile_V80_768Video               : TGUID = '{74D01102-E71A-4820-8F0D-13D2EC1E4872}';
  176.   {$EXTERNALSYM WMProfile_V80_768Video}
  177.   WMProfile_V80_700NTSCVideo           : TGUID = '{C8C2985F-E5D9-4538-9E23-9B21BF78F745}';
  178.   {$EXTERNALSYM WMProfile_V80_700NTSCVideo}
  179.   WMProfile_V80_1400NTSCVideo          : TGUID = '{931D1BEE-617A-4bcd-9905-CCD0786683EE}';
  180.   {$EXTERNALSYM WMProfile_V80_1400NTSCVideo}
  181.   WMProfile_V80_384PALVideo            : TGUID = '{9227C692-AE62-4f72-A7EA-736062D0E21E}';
  182.   {$EXTERNALSYM WMProfile_V80_384PALVideo}
  183.   WMProfile_V80_700PALVideo            : TGUID = '{EC298949-639B-45e2-96FD-4AB32D5919C2}';
  184.   {$EXTERNALSYM WMProfile_V80_700PALVideo}
  185.   WMProfile_V80_288MonoAudio           : TGUID = '{7EA3126D-E1BA-4716-89AF-F65CEE0C0C67}';
  186.   {$EXTERNALSYM WMProfile_V80_288MonoAudio}
  187.   WMProfile_V80_288StereoAudio         : TGUID = '{7E4CAB5C-35DC-45bb-A7C0-19B28070D0CC}';
  188.   {$EXTERNALSYM WMProfile_V80_288StereoAudio}
  189.   WMProfile_V80_32StereoAudio          : TGUID = '{60907F9F-B352-47e5-B210-0EF1F47E9F9D}';
  190.   {$EXTERNALSYM WMProfile_V80_32StereoAudio}
  191.   WMProfile_V80_48StereoAudio          : TGUID = '{5EE06BE5-492B-480a-8A8F-12F373ECF9D4}';
  192.   {$EXTERNALSYM WMProfile_V80_48StereoAudio}
  193.   WMProfile_V80_64StereoAudio          : TGUID = '{09BB5BC4-3176-457f-8DD6-3CD919123E2D}';
  194.   {$EXTERNALSYM WMProfile_V80_64StereoAudio}
  195.   WMProfile_V80_96StereoAudio          : TGUID = '{1FC81930-61F2-436f-9D33-349F2A1C0F10}';
  196.   {$EXTERNALSYM WMProfile_V80_96StereoAudio}
  197.   WMProfile_V80_128StereoAudio         : TGUID = '{407B9450-8BDC-4ee5-88B8-6F527BD941F2}';
  198.   {$EXTERNALSYM WMProfile_V80_128StereoAudio}
  199.   WMProfile_V80_288VideoOnly           : TGUID = '{8C45B4C7-4AEB-4f78-A5EC-88420B9DADEF}';
  200.   {$EXTERNALSYM WMProfile_V80_288VideoOnly}
  201.   WMProfile_V80_56VideoOnly            : TGUID = '{6E2A6955-81DF-4943-BA50-68A986A708F6}';
  202.   {$EXTERNALSYM WMProfile_V80_56VideoOnly}
  203.   WMProfile_V80_FAIRVBRVideo           : TGUID = '{3510A862-5850-4886-835F-D78EC6A64042}';
  204.   {$EXTERNALSYM WMProfile_V80_FAIRVBRVideo}
  205.   WMProfile_V80_HIGHVBRVideo           : TGUID = '{0F10D9D3-3B04-4fb0-A3D3-88D4AC854ACC}';
  206.   {$EXTERNALSYM WMProfile_V80_HIGHVBRVideo}
  207.   WMProfile_V80_BESTVBRVideo           : TGUID = '{048439BA-309C-440e-9CB4-3DCCA3756423}';
  208.   {$EXTERNALSYM WMProfile_V80_BESTVBRVideo}
  209.  
  210. //*@@@+++@@@@******************************************************************
  211. //
  212. // Microsoft Windows Media
  213. // Copyright (C) Microsoft Corporation. All rights reserved.
  214. //
  215. //*@@@---@@@@******************************************************************
  216. //
  217.  
  218. //import "mediaobj.idl";
  219. //import "videoacc.idl"; // IAMVideoAccelerator
  220. const
  221.   IID_IWMPlayerTimestampHook     : TGUID = '{28580dda-d98e-48d0-b7ae-69e473a02825}';
  222.   {$EXTERNALSYM IID_IWMPlayerTimestampHook}
  223.   IID_IWMCodecVideoAccelerator   : TGUID = '{990641b0-739f-4e94-a808-9888da8f75af}';
  224.   {$EXTERNALSYM IID_IWMCodecVideoAccelerator}
  225.   IID_IWMCodecAMVideoAccelerator : TGUID = '{d98ee251-34e0-4a2d-9312-9b4c788d9fa1}';
  226.   {$EXTERNALSYM IID_IWMCodecAMVideoAccelerator}
  227.  
  228. type
  229. // Implemented by the player            
  230.   {$HPPEMIT 'typedef System::DelphiInterface<IWMPlayerTimestampHook> _di_IWMPlayerTimestampHook;'}
  231.   {$EXTERNALSYM IWMPlayerTimestampHook}
  232.   IWMPlayerTimestampHook = interface(IUnknown)
  233.   ['{28580dda-d98e-48d0-b7ae-69e473a02825}']
  234.   (*** IWMPlayerTimestampHook methods ***)
  235.     function MapTimestamp(rtIn: TReferenceTime;
  236.       out prtOut: TReferenceTime): HRESULT; stdcall;
  237.   end;
  238.  
  239. // Implemeted by video decoder DMOs for DXVA support
  240.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCodecAMVideoAccelerator> _di_IWMCodecAMVideoAccelerator;'}
  241.   {$EXTERNALSYM IWMCodecAMVideoAccelerator}
  242.   IWMCodecAMVideoAccelerator = interface(IUnknown)
  243.   ['{d98ee251-34e0-4a2d-9312-9b4c788d9fa1}']
  244.   (*** IWMCodecAMVideoAccelerator methods ***)
  245.     function SetAcceleratorInterface(pIAMVA: IAMVideoAccelerator): HRESULT; stdcall;
  246.     function NegotiateConnection(pMediaType: PDMOMediaType ): HRESULT; stdcall;
  247.     function SetPlayerNotify(pHook: IWMPlayerTimestampHook): HRESULT; stdcall;
  248.   end;
  249.  
  250. // Outdated version of IWMCodecAMVideoAccelerator
  251.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCodecVideoAccelerator> _di_IWMCodecVideoAccelerator;'}
  252.   {$EXTERNALSYM IWMCodecVideoAccelerator}
  253.   IWMCodecVideoAccelerator = interface(IUnknown)
  254.   ['{990641b0-739f-4e94-a808-9888da8f75af}']
  255.   (*** IWMCodecVideoAccelerator methods ***)
  256.     function NegotiateConnection(pIAMVA: IAMVideoAccelerator;
  257.       pMediaType: PDMOMediaType): HRESULT;
  258.     function SetPlayerNotify(pHook: IWMPlayerTimestampHook): HRESULT;
  259.   end;
  260.  
  261. //*****************************************************************************
  262. //
  263. // Microsoft Windows Media
  264. // Copyright (C) Microsoft Corporation. All rights reserved.
  265. //
  266. // FileName:            WMNetSourceCreator.idl
  267. //
  268. // Abstract:
  269. //
  270. //*****************************************************************************
  271.  
  272. const
  273.   CLSID_ClientNetManager  : TGUID = '{CD12A3CE-9C42-11D2-BEED-0060082F2054}';
  274.   {$EXTERNALSYM CLSID_ClientNetManager}
  275.   IID_INSNetSourceCreator : TGUID = '{0C0E4080-9081-11d2-BEEC-0060082F2054}';
  276.   {$EXTERNALSYM IID_INSNetSourceCreator}
  277.  
  278. //////////////////////////////////////////////////////////////////////////////
  279. //
  280. // Interface for creating a NetSource plugin.
  281. //
  282. type
  283.   {$HPPEMIT 'typedef System::DelphiInterface<INSNetSourceCreator> _di_INSNetSourceCreator;'}
  284.   {$EXTERNALSYM INSNetSourceCreator}
  285.   INSNetSourceCreator = interface(IUnknown)
  286.   ['{0C0E4080-9081-11d2-BEEC-0060082F2054}']
  287.   (*** INSNetSourceCreator methods ***)
  288.     function Initialize: HRESULT; stdcall;
  289.  
  290.     //
  291.     // This method is called to create an instance of the a particular
  292.     // Network Source plugin
  293.     //
  294.     function CreateNetSource(pszStreamName: PWideChar; pMonitor: IUnknown;
  295.       pData: PBYTE; pUserContext, pCallback: IUnknown; qwContext: Int64): HRESULT; stdcall;
  296.  
  297.     //
  298.     // This method returns the namespace node for the properties of the
  299.     // the Network Source plugin that would be used given the
  300.     // provided stream name.
  301.     //
  302.     function GetNetSourceProperties(pszStreamName: PWideChar;
  303.       out ppPropertiesNode: IUnknown): HRESULT; stdcall;
  304.  
  305.     //
  306.     // Returns part of the Namespace that is used for values that are
  307.     // shared among all Network Source plugins
  308.     //
  309.     function GetNetSourceSharedNamespace(out ppSharedNamespace: IUnknown): HRESULT; stdcall;
  310.  
  311.     function GetNetSourceAdminInterface(pszStreamName: PWideChar;
  312.       out pVal: OLEVARIANT): HRESULT; stdcall;
  313.  
  314.     //
  315.     // Iterate through the network protocols supported
  316.     //
  317.     function GetNumProtocolsSupported(out pcProtocols: LongWord): HRESULT; stdcall;
  318.  
  319.     function GetProtocolName(dwProtocolNum: LongWord; {out} pwszProtocolName: PWideChar;
  320.       var pcchProtocolName: Word): HRESULT; stdcall;
  321.  
  322.     function Shutdown: HRESULT; stdcall;
  323.   end;
  324.  
  325. //*@@@+++@@@@******************************************************************
  326. //
  327. // Microsoft Windows Media
  328. // Copyright (C) Microsoft Corporation. All rights reserved.
  329. //
  330. //*@@@---@@@@******************************************************************
  331. const
  332.   IID_INSSBuffer           : TGUID = '{E1CD3524-03D7-11d2-9EED-006097D2D7CF}';
  333.   {$EXTERNALSYM IID_INSSBuffer}
  334.   IID_IWMSBuffer           : TGUID = '{E1CD3524-03D7-11d2-9EED-006097D2D7CF}';
  335.   {$EXTERNALSYM IID_IWMSBuffer}
  336.   IID_INSSBuffer2          : TGUID = '{4f528693-1035-43fe-b428-757561ad3a68}';
  337.   {$EXTERNALSYM IID_INSSBuffer2}
  338.   IID_INSSBuffer3          : TGUID = '{c87ceaaf-75be-4bc4-84eb-ac2798507672}';
  339.   {$EXTERNALSYM IID_INSSBuffer3}
  340.   IID_INSSBuffer4          : TGUID = '{b6b8fd5a-32e2-49d4-a910-c26cc85465ed}';
  341.   {$EXTERNALSYM IID_INSSBuffer4}
  342.   IID_IWMSBufferAllocator  : TGUID = '{61103CA4-2033-11d2-9EF1-006097D2D7CF}';
  343.   {$EXTERNALSYM IID_IWMSBufferAllocator}
  344.  
  345. type
  346.   {$HPPEMIT 'typedef System::DelphiInterface<INSSBuffer> _di_INSSBuffer;'}
  347.   {$EXTERNALSYM INSSBuffer}
  348.   INSSBuffer = interface(IUnknown)
  349.   ['{E1CD3524-03D7-11d2-9EED-006097D2D7CF}']
  350.   (*** INSSBuffer methods ***)
  351.     function GetLength(out pdwLength: LongWord): HRESULT; stdcall;
  352.     function SetLength(dwLength: LongWord): HRESULT; stdcall;
  353.     function GetMaxLength(out pdwLength: LongWord): HRESULT; stdcall;
  354.     function GetBuffer(out ppdwBuffer: PBYTE): HRESULT; stdcall;
  355.     function GetBufferAndLength(out ppdwBuffer: PBYTE; out pdwLength: LongWord): HRESULT; stdcall;
  356.   end;
  357.  
  358.   {$HPPEMIT 'typedef System::DelphiInterface<INSSBuffer2> _di_INSSBuffer2;'}
  359.   {$EXTERNALSYM INSSBuffer2}
  360.   INSSBuffer2 = interface(INSSBuffer)
  361.   ['{4F528693-1035-43fe-B428-757561AD3A68}']
  362.   (*** INSSBuffer2 methods ***)
  363.     function GetSampleProperties(cbProperties: LongWord; {out} pbProperties: PBYTE): HRESULT; stdcall;
  364.     function SetSampleProperties(cbProperties: LongWord; pbProperties: PBYTE): HRESULT; stdcall;
  365.   end;
  366.  
  367.   {$HPPEMIT 'typedef System::DelphiInterface<INSSBuffer3> _di_INSSBuffer3;'}
  368.   {$EXTERNALSYM INSSBuffer3}
  369.   INSSBuffer3 = interface(INSSBuffer2)
  370.   ['{C87CEAAF-75BE-4bc4-84EB-AC2798507672}']
  371.   (*** INSSBuffer3 methods ***)
  372.     function SetProperty(guidBufferProperty: TGUID; pvBufferProperty: Pointer;
  373.       dwBufferPropertySize: LongWord): HRESULT; stdcall;
  374.     function GetProperty(guidBufferProperty: TGUID; {out} pvBufferProperty: Pointer;
  375.       var pdwBufferPropertySize: LongWord): HRESULT; stdcall;
  376.   end;
  377.  
  378.   {$HPPEMIT 'typedef System::DelphiInterface<INSSBuffer4> _di_INSSBuffer4;'}
  379.   {$EXTERNALSYM INSSBuffer4}
  380.   INSSBuffer4 = interface(INSSBuffer3)
  381.   ['{B6B8FD5A-32E2-49d4-A910-C26CC85465ED}']
  382.   (*** INSSBuffer4 methods ***)
  383.     function GetPropertyCount(out pcBufferProperties: LongWord): HRESULT; stdcall;
  384.     function GetPropertyByIndex(dwBufferPropertyIndex: LongWord;
  385.       out pguidBufferProperty: TGUID; pvBufferProperty: pointer;
  386.       var pdwBufferPropertySize: LongWord): HRESULT; stdcall;
  387.   end;
  388.  
  389.   {$HPPEMIT 'typedef System::DelphiInterface<IWMSBufferAllocator> _di_IWMSBufferAllocator;'}
  390.   {$EXTERNALSYM IWMSBufferAllocator}
  391.   IWMSBufferAllocator = interface(IUnknown)
  392.   ['{61103CA4-2033-11d2-9EF1-006097D2D7CF}']
  393.   (*** IWMSBufferAllocator methods ***)
  394.     function AllocateBuffer(dwMaxBufferSize: LongWord; out ppBuffer: INSSBuffer): HRESULT; stdcall;
  395.     function AllocatePageSizeBuffer(dwMaxBufferSize: LongWord; out ppBuffer: INSSBuffer): HRESULT; stdcall;
  396.   end;
  397.  
  398. //*@@@+++@@@@******************************************************************
  399. //
  400. // Microsoft Windows Media
  401. // Copyright (C) Microsoft Corporation. All rights reserved.
  402. //
  403. //*@@@---@@@@******************************************************************
  404. //
  405.  
  406. // The following is a partial list of DRM actions that are of interest to applications
  407. const
  408.   g_wszWMDRM_RIGHT_PLAYBACK                    = WideString('Play');
  409.   {$EXTERNALSYM g_wszWMDRM_RIGHT_PLAYBACK}
  410.   g_wszWMDRM_RIGHT_COPY_TO_CD                  = WideString('Print.redbook');
  411.   {$EXTERNALSYM g_wszWMDRM_RIGHT_COPY_TO_CD}
  412.   g_wszWMDRM_RIGHT_COPY_TO_SDMI_DEVICE         = WideString('Transfer.SDMI');
  413.   {$EXTERNALSYM g_wszWMDRM_RIGHT_COPY_TO_SDMI_DEVICE}
  414.   g_wszWMDRM_RIGHT_COPY_TO_NON_SDMI_DEVICE     = WideString('Transfer.NONSDMI');
  415.   {$EXTERNALSYM g_wszWMDRM_RIGHT_COPY_TO_NON_SDMI_DEVICE}
  416.   g_wszWMDRM_RIGHT_BACKUP                      = WideString('Backup');
  417.   {$EXTERNALSYM g_wszWMDRM_RIGHT_BACKUP}
  418.  
  419.   g_wszWMDRM_IsDRM                             = WideString('IsDRM');
  420.   {$EXTERNALSYM g_wszWMDRM_IsDRM}
  421.   g_wszWMDRM_IsDRMCached                       = WideString('IsDRMCached');
  422.   {$EXTERNALSYM g_wszWMDRM_IsDRMCached}
  423.   g_wszWMDRM_BaseLicenseAcqURL                 = WideString('BaseLAURL');
  424.   {$EXTERNALSYM g_wszWMDRM_BaseLicenseAcqURL}
  425.   g_wszWMDRM_Rights                            = WideString('Rights');
  426.   {$EXTERNALSYM g_wszWMDRM_Rights}
  427.   g_wszWMDRM_LicenseID                         = WideString('LID');
  428.   {$EXTERNALSYM g_wszWMDRM_LicenseID}
  429.  
  430.   g_wszWMDRM_ActionAllowed                     = WideString('ActionAllowed.');
  431.   {$EXTERNALSYM g_wszWMDRM_ActionAllowed}
  432.   g_wszWMDRM_ActionAllowed_Playback            = WideString('ActionAllowed.Play');
  433.   {$EXTERNALSYM g_wszWMDRM_ActionAllowed_Playback}
  434.   g_wszWMDRM_ActionAllowed_CopyToCD            = WideString('ActionAllowed.Print.redbook');
  435.   {$EXTERNALSYM g_wszWMDRM_ActionAllowed_CopyToCD}
  436.   g_wszWMDRM_ActionAllowed_CopyToSDMIDevice    = WideString('ActionAllowed.Transfer.SDMI');
  437.   {$EXTERNALSYM g_wszWMDRM_ActionAllowed_CopyToSDMIDevice}
  438.   g_wszWMDRM_ActionAllowed_CopyToNonSDMIDevice = WideString('ActionAllowed.Transfer.NONSDMI');
  439.   {$EXTERNALSYM g_wszWMDRM_ActionAllowed_CopyToNonSDMIDevice}
  440.   g_wszWMDRM_ActionAllowed_Backup              = WideString('ActionAllowed.Backup');
  441.   {$EXTERNALSYM g_wszWMDRM_ActionAllowed_Backup}
  442.  
  443.   g_wszWMDRM_LicenseState                      = WideString('LicenseStateData.');
  444.   {$EXTERNALSYM g_wszWMDRM_LicenseState}
  445.   g_wszWMDRM_LicenseState_Playback             = WideString('LicenseStateData.Play');
  446.   {$EXTERNALSYM g_wszWMDRM_LicenseState_Playback}
  447.   g_wszWMDRM_LicenseState_CopyToCD             = WideString('LicenseStateData.Print.redbook');
  448.   {$EXTERNALSYM g_wszWMDRM_LicenseState_CopyToCD}
  449.   g_wszWMDRM_LicenseState_CopyToSDMIDevice     = WideString('LicenseStateData.Transfer.SDMI');
  450.   {$EXTERNALSYM g_wszWMDRM_LicenseState_CopyToSDMIDevice}
  451.   g_wszWMDRM_LicenseState_CopyToNonSDMIDevice  = WideString('LicenseStateData.Transfer.NONSDMI');
  452.   {$EXTERNALSYM g_wszWMDRM_LicenseState_CopyToNonSDMIDevice}
  453.  
  454.   g_wszWMDRM_DRMHeader                         = WideString('DRMHeader.');
  455.   {$EXTERNALSYM g_wszWMDRM_DRMHeader}
  456.   g_wszWMDRM_DRMHeader_KeyID                   = WideString('DRMHeader.KID');
  457.   {$EXTERNALSYM g_wszWMDRM_DRMHeader_KeyID}
  458.   g_wszWMDRM_DRMHeader_LicenseAcqURL           = WideString('DRMHeader.LAINFO');
  459.   {$EXTERNALSYM g_wszWMDRM_DRMHeader_LicenseAcqURL}
  460.   g_wszWMDRM_DRMHeader_ContentID               = WideString('DRMHeader.CID');
  461.   {$EXTERNALSYM g_wszWMDRM_DRMHeader_ContentID}
  462.   g_wszWMDRM_DRMHeader_IndividualizedVersion   = WideString('DRMHeader.SECURITYVERSION');
  463.   {$EXTERNALSYM g_wszWMDRM_DRMHeader_IndividualizedVersion}
  464.   g_wszWMDRM_DRMHeader_ContentDistributor      = WideString('DRMHeader.ContentDistributor');
  465.   {$EXTERNALSYM g_wszWMDRM_DRMHeader_ContentDistributor}
  466.   g_wszWMDRM_DRMHeader_SubscriptionContentID   = WideString('DRMHeader.SubscriptionContentID');
  467.   {$EXTERNALSYM g_wszWMDRM_DRMHeader_SubscriptionContentID}
  468.  
  469.  
  470. // This enum indicates the category for each possible output string to be displayed.
  471. // 0 -  Playback not permitted.
  472. // 1 -  Playback unlimited.
  473. // 2 -  Playback valid 5 times.
  474. // 3 -  Playback valid from 7/12/00.
  475. // 4 -  Playback valid until 7/12/00.
  476. // 5 -  Playback valid from 5/12 to 9/12.
  477. // 6 -  Playback valid 5 times from 7/12/00.
  478. // 7 -  Playback valid 5 times until 7/12/00.
  479. // 8 -  Playback valid 5 times from 5/12 to 9/12.
  480. // 9 -  Playback valid for 24 hours from first use.
  481. type
  482.   DRM_LICENSE_STATE_CATEGORY = (
  483.     WM_DRM_LICENSE_STATE_NORIGHT,
  484.     WM_DRM_LICENSE_STATE_UNLIM,
  485.     WM_DRM_LICENSE_STATE_COUNT,
  486.     WM_DRM_LICENSE_STATE_FROM,
  487.     WM_DRM_LICENSE_STATE_UNTIL,
  488.     WM_DRM_LICENSE_STATE_FROM_UNTIL,
  489.     WM_DRM_LICENSE_STATE_COUNT_FROM,
  490.     WM_DRM_LICENSE_STATE_COUNT_UNTIL,
  491.     WM_DRM_LICENSE_STATE_COUNT_FROM_UNTIL,
  492.     WM_DRM_LICENSE_STATE_EXPIRATION_AFTER_FIRSTUSE
  493.   );
  494.   {$EXTERNALSYM DRM_LICENSE_STATE_CATEGORY}
  495.   TDRMLicenseStateCategory = DRM_LICENSE_STATE_CATEGORY;
  496.  
  497.   PDRMLicenseStateData = ^TDRMLicenseStateData;
  498.   _DRM_LICENSE_STATE_DATA = packed record
  499.     dwStreamId  : LongWord;                   // 0 -> All streams, != 0 -> A particular stream.
  500.     dwCategory  : TDRMLicenseStateCategory;   // Indicates the category of string to be displayed.
  501.     dwNumCounts : LongWord;                   // Number of items supplied in dwCount.
  502.     dwCount     : array[0..3] of LongWord;    // Up to 4 counts.
  503.     dwNumDates  : LongWord;                   // Number of items supplied in dwDate.
  504.     datetime    : array [0..3] of FILETIME;   // Up to 4 dates.
  505.     dwVague     : LongWord;                   // 0 -> certain, 1 -> atleast.  (There could be more
  506.                                               //               licenses. Aggregation not possible.)
  507.   end;
  508.   {$EXTERNALSYM _DRM_LICENSE_STATE_DATA}
  509.   DRM_LICENSE_STATE_DATA = _DRM_LICENSE_STATE_DATA;
  510.   {$EXTERNALSYM DRM_LICENSE_STATE_DATA}
  511.   TDRMLicenseStateData = _DRM_LICENSE_STATE_DATA;
  512.  
  513.   DRM_HTTP_STATUS = (
  514.     HTTP_NOTINITIATED,
  515.     HTTP_CONNECTING,
  516.     HTTP_REQUESTING,
  517.     HTTP_RECEIVING,
  518.     HTTP_COMPLETED
  519.   );
  520.   {$EXTERNALSYM DRM_HTTP_STATUS}
  521.   TDRMHTTPStatus = DRM_HTTP_STATUS;
  522.  
  523.   //  The various states individualization can be in:
  524. {$IFNDEF COMPILER6_UP}
  525.   DRM_INDIVIDUALIZATION_STATUS = {$IFDEF TYPE_IDENTITY}type {$ENDIF} LongWord;
  526.   const
  527.     INDI_UNDEFINED = $00;
  528.     {$EXTERNALSYM INDI_UNDEFINED}
  529.     INDI_BEGIN     = $01;
  530.     {$EXTERNALSYM INDI_BEGIN}
  531.     INDI_SUCCEED   = $02;
  532.     {$EXTERNALSYM INDI_SUCCEED}
  533.     INDI_FAIL      = $04;
  534.     {$EXTERNALSYM INDI_FAIL}
  535.     INDI_CANCEL    = $08;
  536.     {$EXTERNALSYM INDI_CANCEL}
  537.     INDI_DOWNLOAD  = $10;
  538.     {$EXTERNALSYM INDI_DOWNLOAD}
  539.     INDI_INSTALL   = $20;
  540.     {$EXTERNALSYM INDI_INSTALL}
  541. {$ELSE}
  542. type
  543.   DRM_INDIVIDUALIZATION_STATUS = (
  544.     INDI_UNDEFINED = $00,
  545.     INDI_BEGIN     = $01,
  546.     INDI_SUCCEED   = $02,
  547.     INDI_FAIL      = $04,
  548.     INDI_CANCEL    = $08,
  549.     INDI_DOWNLOAD  = $10,
  550.     INDI_INSTALL   = $20
  551.   );
  552. {$ENDIF}
  553. type
  554.   {$EXTERNALSYM DRM_INDIVIDUALIZATION_STATUS}
  555.   TDRMIndividualizationStatus = DRM_INDIVIDUALIZATION_STATUS;
  556.  
  557. type
  558.   PWMIndividualizeStatus = ^TWMIndividualizeStatus;
  559.   _WMIndividualizeStatus = packed record
  560.     hr                 : HRESULT;
  561.     enIndiStatus       : TDRMIndividualizationStatus;
  562.     pszIndiRespUrl     : PChar;
  563.     dwHTTPRequest      : LongWord;
  564.     enHTTPStatus       : TDRMHTTPStatus;
  565.     dwHTTPReadProgress : LongWord;
  566.     dwHTTPReadTotal    : LongWord;
  567.   end;
  568.   {$EXTERNALSYM _WMIndividualizeStatus}
  569.   WM_INDIVIDUALIZE_STATUS = _WMIndividualizeStatus;
  570.   {$EXTERNALSYM WM_INDIVIDUALIZE_STATUS}
  571.   TWMIndividualizeStatus = _WMIndividualizeStatus;
  572.  
  573.   PWMGetLicenseData = ^TWMGetLicenseData;
  574.   _WMGetLicenseData = packed record
  575.     dwSize           : LongWord;
  576.     hr               : HRESULT;
  577.     wszURL           : PWideChar;
  578.     wszLocalFilename : PWideChar;
  579.     pbPostData       : PBYTE;
  580.     dwPostDataSize   : LongWord;
  581.   end;
  582.   {$EXTERNALSYM _WMGetLicenseData}
  583.   WM_GET_LICENSE_DATA = _WMGetLicenseData;
  584.   {$EXTERNALSYM WM_GET_LICENSE_DATA}
  585.   TWMGetLicenseData = _WMGetLicenseData;
  586.  
  587.  
  588. //*****************************************************************************
  589. //
  590. // Microsoft Windows Media
  591. // Copyright (C) Microsoft Corporation. All rights reserved.
  592. //
  593. // FileName:            WMSInternalAdminNetSource.idl
  594. //
  595. // Abstract:
  596. //
  597. //*****************************************************************************
  598.  
  599. const
  600.   IID_IWMSInternalAdminNetSource  : TGUID = '{8BB23E5F-D127-4afb-8D02-AE5B66D54C78}';
  601.   {$EXTERNALSYM IID_IWMSInternalAdminNetSource}
  602.   IID_IWMSInternalAdminNetSource2 : TGUID = '{E74D58C3-CF77-4b51-AF17-744687C43EAE}';
  603.   {$EXTERNALSYM IID_IWMSInternalAdminNetSource2}
  604.   IID_IWMSInternalAdminNetSource3 : TGUID = '{6b63d08e-4590-44af-9eb3-57ff1e73bf80}';
  605.   {$EXTERNALSYM IID_IWMSInternalAdminNetSource3}
  606.  
  607. type
  608.   NETSOURCE_URLCREDPOLICY_SETTINGS = (
  609.     NETSOURCE_URLCREDPOLICY_SETTING_SILENTLOGONOK,
  610.     NETSOURCE_URLCREDPOLICY_SETTING_MUSTPROMPTUSER,
  611.     NETSOURCE_URLCREDPOLICY_SETTING_ANONYMOUSONLY
  612.   );
  613.   {$EXTERNALSYM NETSOURCE_URLCREDPOLICY_SETTINGS}
  614.  TNetSourceURLCredpolicySettings = NETSOURCE_URLCREDPOLICY_SETTINGS;
  615.  
  616. ////////////////////////////////////////////////////////////////////////////////////////////////////
  617. //
  618. // This interface is used by WMP 7 and MPXP
  619. //
  620.  
  621.   {$HPPEMIT 'typedef System::DelphiInterface<IWMSInternalAdminNetSource> _di_IWMSInternalAdminNetSource;'}
  622.   {$EXTERNALSYM IWMSInternalAdminNetSource}
  623.   IWMSInternalAdminNetSource = interface(IUnknown)
  624.   ['{8BB23E5F-D127-4afb-8D02-AE5B66D54C78}']
  625.   (*** IWMSInternalAdminNetSource methods ***)
  626.     function Initialize(pSharedNamespace,
  627.                        pNamespaceNode: IUnknown;
  628.                        pNetSourceCreator: INSNetSourceCreator;
  629.                        fEmbeddedInServer: BOOL): HRESULT; stdcall;
  630.  
  631.     function GetNetSourceCreator(out ppNetSourceCreator: INSNetSourceCreator): HRESULT; stdcall;
  632.  
  633.     // Authentication
  634.     function SetCredentials(bstrRealm, bstrName, bstrPassword: WideString; fPersist, fConfirmedGood: BOOL): HRESULT; stdcall;
  635.     function GetCredentials(bstrRealm: WideString; out pbstrName, pbstrPassword: WideString; out pfConfirmedGood: BOOL): HRESULT; stdcall;
  636.     function DeleteCredentials(bstrRealm: WideString): HRESULT; stdcall;
  637.     function GetCredentialFlags(out lpdwFlags: LongWord): HRESULT; stdcall;
  638.     function SetCredentialFlags(dwFlags: LongWord): HRESULT; stdcall;
  639.  
  640.     // Proxy
  641.     function FindProxyForURL(bstrProtocol, bstrHost: WideString;
  642.                              out pfProxyEnabled: BOOL;
  643.                              out pbstrProxyServer: WideString;
  644.                              out pdwProxyPort: LongWord;
  645.                              var pdwProxyContext: LongWord): HRESULT; stdcall;
  646.  
  647.     function RegisterProxyFailure(hrParam: HRESULT; dwProxyContext: LongWord): HRESULT; stdcall;
  648.     function ShutdownProxyContext(dwProxyContext: LongWord): HRESULT; stdcall;
  649.     function IsUsingIE(dwProxyContext: LongWord; out pfIsUsingIE: BOOL): HRESULT; stdcall;
  650.   end;
  651.  
  652.  
  653. ////////////////////////////////////////////////////////////////////////////////////////////////////
  654. //
  655. // This interface is used by WMP 7 and MPXP
  656. //
  657.  
  658.   {$HPPEMIT 'typedef System::DelphiInterface<IWMSInternalAdminNetSource2> _di_IWMSInternalAdminNetSource2;'}
  659.   {$EXTERNALSYM IWMSInternalAdminNetSource2}
  660.   IWMSInternalAdminNetSource2 = interface(IUnknown)
  661.   ['{E74D58C3-CF77-4b51-AF17-744687C43EAE}']
  662.   (*** IWMSInternalAdminNetSource2 methods ***)
  663.     // Authentication
  664.     function SetCredentialsEx(bstrRealm      : WideString;
  665.                               bstrUrl        : WideString;
  666.                               fProxy         : BOOL;
  667.                               bstrName       : WideString;
  668.                               bstrPassword   : WideString;
  669.                               fPersist       : BOOL;
  670.                               fConfirmedGood : BOOL): HRESULT; stdcall;
  671.  
  672.     function GetCredentialsEx(bstrRealm           : WideString;
  673.                               bstrUrl             : WideString;
  674.                               fProxy              : BOOL;
  675.                               out pdwUrlPolicy    : TNetSourceURLCredpolicySettings;
  676.                               out pbstrName       : WideString;
  677.                               out pbstrPassword   : WideString;
  678.                               out pfConfirmedGood : BOOL): HRESULT; stdcall;
  679.  
  680.     function DeleteCredentialsEx(bstrRealm, bstrUrl: WideString; fProxy: BOOL): HRESULT; stdcall;
  681.  
  682.     function FindProxyForURLEx(bstrProtocol         : WideString;
  683.                                bstrHost             : WideString;
  684.                                bstrUrl              : WideString;
  685.                                out pfProxyEnabled   : BOOL;
  686.                                out pbstrProxyServer : WideString;
  687.                                out pdwProxyPort     : LongWord;
  688.                                var pdwProxyContext  : LongWord): HRESULT; stdcall;
  689.  
  690.   end;
  691.  
  692.   {$HPPEMIT 'typedef System::DelphiInterface<IWMSInternalAdminNetSource3> _di_IWMSInternalAdminNetSource3;'}
  693.   {$EXTERNALSYM IWMSInternalAdminNetSource3}
  694.   IWMSInternalAdminNetSource3 = interface(IWMSInternalAdminNetSource2)
  695.   ['{6b63d08e-4590-44af-9eb3-57ff1e73bf80}']
  696.   (*** IWMSInternalAdminNetSource3 methods ***)
  697.     function GetNetSourceCreator2(out ppNetSourceCreator: IUnknown): HRESULT; stdcall;
  698.  
  699.     // Proxy
  700.     function FindProxyForURLEx2(bstrProtocol         : WideString;
  701.                                 bstrHost             : WideString;
  702.                                 bstrUrl              : WideString;
  703.                                 out pfProxyEnabled   : BOOL;
  704.                                 out pbstrProxyServer : WideString;
  705.                                 out pdwProxyPort     : LongWord;
  706.                                 var pqwProxyContext  : Int64): HRESULT; stdcall;
  707.  
  708.     function RegisterProxyFailure2(hrParam: HRESULT; qwProxyContext: Int64): HRESULT; stdcall;
  709.     function ShutdownProxyContext2(qwProxyContext: Int64): HRESULT; stdcall;
  710.     function IsUsingIE2(qwProxyContext: Int64; out pfIsUsingIE: BOOL): HRESULT; stdcall;
  711.  
  712.     // Authentication
  713.     function SetCredentialsEx2(bstrRealm                : WideString;
  714.                                bstrUrl                  : WideString;
  715.                                fProxy                   : BOOL;
  716.                                bstrName                 : WideString;
  717.                                bstrPassword             : WideString;
  718.                                fPersist                 : BOOL;
  719.                                fConfirmedGood           : BOOL;
  720.                                fClearTextAuthentication : BOOL): HRESULT; stdcall;
  721.  
  722.     function GetCredentialsEx2(bstrRealm                : WideString;
  723.                                bstrUrl                  : WideString;
  724.                                fProxy                   : BOOL;
  725.                                fClearTextAuthentication : BOOL;
  726.                                out pdwUrlPolicy         : TNetSourceURLCredpolicySettings;
  727.                                out pbstrName            : WideString;
  728.                                out pbstrPassword        : WideString;
  729.                                out pfConfirmedGood      : BOOL): HRESULT; stdcall;
  730.   end;
  731.  
  732. //*@@@+++@@@@******************************************************************
  733. //
  734. // Microsoft Windows Media
  735. // Copyright (C) Microsoft Corporation. All rights reserved.
  736. //
  737. //*@@@---@@@@******************************************************************
  738. //
  739.  
  740. ///////////////////////////////////////////////////////////////////////////////
  741. //
  742. // Enumerations and constants used by the SDK.
  743. //
  744. ///////////////////////////////////////////////////////////////////////////////
  745.  
  746.  
  747. //////////////////////////////////////////////////////////////////////////////
  748. //
  749. // Imports, typedefs and forward declarations
  750. //
  751.  
  752. ///////////////////////////////////////////////////////////////////////////////
  753. //
  754. // Attributes
  755. //
  756. ///////////////////////////////////////////////////////////////////////////////
  757.  
  758. ////////////////////////////////////////////////////////////////
  759. //
  760. // These are the special case attributes that give information
  761. // about the Windows Media file.
  762. //
  763. const
  764.   g_dwWMSpecialAttributes       = LongWord(20);
  765.   {$EXTERNALSYM g_dwWMSpecialAttributes}
  766.   g_wszWMDuration               = WideString('Duration');
  767.   {$EXTERNALSYM g_wszWMDuration}
  768.   g_wszWMBitrate                = WideString('Bitrate');
  769.   {$EXTERNALSYM g_wszWMBitrate}
  770.   g_wszWMSeekable               = WideString('Seekable');
  771.   {$EXTERNALSYM g_wszWMSeekable}
  772.   g_wszWMStridable              = WideString('Stridable');
  773.   {$EXTERNALSYM g_wszWMStridable}
  774.   g_wszWMBroadcast              = WideString('Broadcast');
  775.   {$EXTERNALSYM g_wszWMBroadcast}
  776.   g_wszWMProtected              = WideString('Is_Protected');
  777.   {$EXTERNALSYM g_wszWMProtected}
  778.   g_wszWMTrusted                = WideString('Is_Trusted');
  779.   {$EXTERNALSYM g_wszWMTrusted}
  780.   g_wszWMSignature_Name         = WideString('Signature_Name');
  781.   {$EXTERNALSYM g_wszWMSignature_Name}
  782.   g_wszWMHasAudio               = WideString('HasAudio');
  783.   {$EXTERNALSYM g_wszWMHasAudio}
  784.   g_wszWMHasImage               = WideString('HasImage');
  785.   {$EXTERNALSYM g_wszWMHasImage}
  786.   g_wszWMHasScript              = WideString('HasScript');
  787.   {$EXTERNALSYM g_wszWMHasScript}
  788.   g_wszWMHasVideo               = WideString('HasVideo');
  789.   {$EXTERNALSYM g_wszWMHasVideo}
  790.   g_wszWMCurrentBitrate         = WideString('CurrentBitrate');
  791.   {$EXTERNALSYM g_wszWMCurrentBitrate}
  792.   g_wszWMOptimalBitrate         = WideString('OptimalBitrate');
  793.   {$EXTERNALSYM g_wszWMOptimalBitrate}
  794.   g_wszWMHasAttachedImages      = WideString('HasAttachedImages');
  795.   {$EXTERNALSYM g_wszWMHasAttachedImages}
  796.   g_wszWMSkipBackward           = WideString('Can_Skip_Backward');
  797.   {$EXTERNALSYM g_wszWMSkipBackward}
  798.   g_wszWMSkipForward            = WideString('Can_Skip_Forward');
  799.   {$EXTERNALSYM g_wszWMSkipForward}
  800.   g_wszWMNumberOfFrames         = WideString('NumberOfFrames');
  801.   {$EXTERNALSYM g_wszWMNumberOfFrames}
  802.   g_wszWMFileSize               = WideString('FileSize');
  803.   {$EXTERNALSYM g_wszWMFileSize}
  804.   g_wszWMHasArbitraryDataStream = WideString('HasArbitraryDataStream');
  805.   {$EXTERNALSYM g_wszWMHasArbitraryDataStream}
  806.   g_wszWMHasFileTransferStream  = WideString('HasFileTransferStream');
  807.   {$EXTERNALSYM g_wszWMHasFileTransferStream}
  808.   g_wszWMContainerFormat        = WideString('WM/ContainerFormat');
  809.   {$EXTERNALSYM g_wszWMContainerFormat}
  810.  
  811. ////////////////////////////////////////////////////////////////
  812. //
  813. // The content description object supports 5 basic attributes.
  814. //
  815.  
  816.   g_dwWMContentAttributes = LongWord(5);
  817.   {$EXTERNALSYM g_dwWMContentAttributes}
  818.   g_wszWMTitle        = WideString('Title');
  819.   {$EXTERNALSYM g_wszWMTitle}
  820.   g_wszWMAuthor       = WideString('Author');
  821.   {$EXTERNALSYM g_wszWMAuthor}
  822.   g_wszWMDescription  = WideString('Description');
  823.   {$EXTERNALSYM g_wszWMDescription}
  824.   g_wszWMRating       = WideString('Rating');
  825.   {$EXTERNALSYM g_wszWMRating}
  826.   g_wszWMCopyright    = WideString('Copyright');
  827.   {$EXTERNALSYM g_wszWMCopyright}
  828.  
  829. ////////////////////////////////////////////////////////////////
  830. //
  831. // These attributes are used to configure and query DRM settings in the reader and writer.
  832. //
  833.  
  834.   g_wszWMUse_DRM                   = WideString('Use_DRM');
  835.   {$EXTERNALSYM g_wszWMUse_DRM}
  836.   g_wszWMDRM_Flags                 = WideString('DRM_Flags');
  837.   {$EXTERNALSYM g_wszWMDRM_Flags}
  838.   g_wszWMDRM_Level                 = WideString('DRM_Level');
  839.   {$EXTERNALSYM g_wszWMDRM_Level}
  840.   g_wszWMUse_Advanced_DRM          = WideString('Use_Advanced_DRM');
  841.   {$EXTERNALSYM g_wszWMUse_Advanced_DRM}
  842.   g_wszWMDRM_KeySeed               = WideString('DRM_KeySeed');
  843.   {$EXTERNALSYM g_wszWMDRM_KeySeed}
  844.   g_wszWMDRM_KeyID                 = WideString('DRM_KeyID');
  845.   {$EXTERNALSYM g_wszWMDRM_KeyID}
  846.   g_wszWMDRM_ContentID             = WideString('DRM_ContentID');
  847.   {$EXTERNALSYM g_wszWMDRM_ContentID}
  848.   g_wszWMDRM_IndividualizedVersion = WideString('DRM_IndividualizedVersion');
  849.   {$EXTERNALSYM g_wszWMDRM_IndividualizedVersion}
  850.   g_wszWMDRM_LicenseAcqURL         = WideString('DRM_LicenseAcqURL');
  851.   {$EXTERNALSYM g_wszWMDRM_LicenseAcqURL}
  852.   g_wszWMDRM_V1LicenseAcqURL       = WideString('DRM_V1LicenseAcqURL');
  853.   {$EXTERNALSYM g_wszWMDRM_V1LicenseAcqURL}
  854.   g_wszWMDRM_HeaderSignPrivKey     = WideString('DRM_HeaderSignPrivKey');
  855.   {$EXTERNALSYM g_wszWMDRM_HeaderSignPrivKey}
  856.   g_wszWMDRM_LASignaturePrivKey    = WideString('DRM_LASignaturePrivKey');
  857.   {$EXTERNALSYM g_wszWMDRM_LASignaturePrivKey}
  858.   g_wszWMDRM_LASignatureCert       = WideString('DRM_LASignatureCert');
  859.   {$EXTERNALSYM g_wszWMDRM_LASignatureCert}
  860.   g_wszWMDRM_LASignatureLicSrvCert = WideString('DRM_LASignatureLicSrvCert');
  861.   {$EXTERNALSYM g_wszWMDRM_LASignatureLicSrvCert}
  862.   g_wszWMDRM_LASignatureRootCert   = WideString('DRM_LASignatureRootCert');
  863.   {$EXTERNALSYM g_wszWMDRM_LASignatureRootCert}
  864.  
  865. ////////////////////////////////////////////////////////////////
  866. //
  867. // These are the additional attributes defined in the WM attribute
  868. // namespace that give information about the content.
  869. //
  870.  
  871.   g_wszWMAlbumTitle    = WideString('WM/AlbumTitle');
  872.   {$EXTERNALSYM g_wszWMAlbumTitle}
  873.   g_wszWMTrack         = WideString('WM/Track');
  874.   {$EXTERNALSYM g_wszWMTrack}
  875.   g_wszWMPromotionURL  = WideString('WM/PromotionURL');
  876.   {$EXTERNALSYM g_wszWMPromotionURL}
  877.   g_wszWMAlbumCoverURL = WideString('WM/AlbumCoverURL');
  878.   {$EXTERNALSYM g_wszWMAlbumCoverURL}
  879.   g_wszWMGenre         = WideString('WM/Genre');
  880.   {$EXTERNALSYM g_wszWMGenre}
  881.   g_wszWMYear          = WideString('WM/Year');
  882.   {$EXTERNALSYM g_wszWMYear}
  883.   g_wszWMGenreID       = WideString('WM/GenreID');
  884.   {$EXTERNALSYM g_wszWMGenreID}
  885.   g_wszWMMCDI          = WideString('WM/MCDI');
  886.   {$EXTERNALSYM g_wszWMMCDI}
  887.   g_wszWMComposer      = WideString('WM/Composer');
  888.   {$EXTERNALSYM g_wszWMComposer}
  889.   g_wszWMLyrics        = WideString('WM/Lyrics');
  890.   {$EXTERNALSYM g_wszWMLyrics}
  891.   g_wszWMTrackNumber   = WideString('WM/TrackNumber');
  892.   {$EXTERNALSYM g_wszWMTrackNumber}
  893.   g_wszWMToolName      = WideString('WM/ToolName');
  894.   {$EXTERNALSYM g_wszWMToolName}
  895.   g_wszWMToolVersion   = WideString('WM/ToolVersion');
  896.   {$EXTERNALSYM g_wszWMToolVersion}
  897.   g_wszWMIsVBR         = WideString('IsVBR');
  898.   {$EXTERNALSYM g_wszWMIsVBR}
  899.  
  900. //
  901. // WM/AlbumArtist is a potentially different value than Author
  902. //
  903.   g_wszWMAlbumArtist = WideString('WM/AlbumArtist');
  904.   {$EXTERNALSYM g_wszWMAlbumArtist}
  905.  
  906. ////////////////////////////////////////////////////////////////
  907. //
  908. // These optional attributes may be used to give information
  909. // about the branding of the content.
  910. //
  911.  
  912.   g_wszWMBannerImageType = WideString('BannerImageType');
  913.   {$EXTERNALSYM g_wszWMBannerImageType}
  914.   g_wszWMBannerImageData = WideString('BannerImageData');
  915.   {$EXTERNALSYM g_wszWMBannerImageData}
  916.   g_wszWMBannerImageURL  = WideString('BannerImageURL');
  917.   {$EXTERNALSYM g_wszWMBannerImageURL}
  918.   g_wszWMCopyrightURL    = WideString('CopyrightURL');
  919.   {$EXTERNALSYM g_wszWMCopyrightURL}
  920.  
  921. ////////////////////////////////////////////////////////////////
  922. //
  923. // Optional attributes, used to give information
  924. // about video stream properties.
  925. //
  926.  
  927.   g_wszWMAspectRatioX = WideString('AspectRatioX');
  928.   {$EXTERNALSYM g_wszWMAspectRatioX}
  929.   g_wszWMAspectRatioY = WideString('AspectRatioY');
  930.   {$EXTERNALSYM g_wszWMAspectRatioY}
  931.  
  932. ////////////////////////////////////////////////////////////////
  933. //
  934. // Optional attributes, used to give information
  935. // about the overall streaming properties of VBR files.
  936. // This attribute takes the format:
  937. //  Word wReserved (must be 0)
  938. //  WM_LEAKY_BUCKET_PAIR pair1
  939. //  WM_LEAKY_BUCKET_PAIR pair2
  940. //  ...
  941. //
  942.   g_wszASFLeakyBucketPairs = WideString('ASFLeakyBucketPairs');
  943.   {$EXTERNALSYM g_wszASFLeakyBucketPairs}
  944.  
  945. ////////////////////////////////////////////////////////////////
  946. //
  947. // The NSC file supports the following attributes.
  948. //
  949.   g_dwWMNSCAttributes = LongWord(5);
  950.   {$EXTERNALSYM g_dwWMNSCAttributes}
  951.   g_wszWMNSCName        = WideString('NSC_Name');
  952.   {$EXTERNALSYM g_wszWMNSCName}
  953.   g_wszWMNSCAddress     = WideString('NSC_Address');
  954.   {$EXTERNALSYM g_wszWMNSCAddress}
  955.   g_wszWMNSCPhone       = WideString('NSC_Phone');
  956.   {$EXTERNALSYM g_wszWMNSCPhone}
  957.   g_wszWMNSCEmail       = WideString('NSC_Email');
  958.   {$EXTERNALSYM g_wszWMNSCEmail}
  959.   g_wszWMNSCDescription = WideString('NSC_Description');
  960.   {$EXTERNALSYM g_wszWMNSCDescription}
  961.  
  962.  
  963. ///////////////////////////////////////////////////////////////////
  964.  
  965. ////////////////////////////////////////////////////////////////
  966. //
  967. // Attributes introduced in V9
  968. //
  969.   g_wszWMWriter                  = WideString('WM/Writer');
  970.   {$EXTERNALSYM g_wszWMWriter}
  971.   g_wszWMConductor               = WideString('WM/Conductor');
  972.   {$EXTERNALSYM g_wszWMConductor}
  973.   g_wszWMProducer                = WideString('WM/Producer');
  974.   {$EXTERNALSYM g_wszWMProducer}
  975.   g_wszWMDirector                = WideString('WM/Director');
  976.   {$EXTERNALSYM g_wszWMDirector}
  977.   g_wszWMContentGroupDescription = WideString('WM/ContentGroupDescription');
  978.   {$EXTERNALSYM g_wszWMContentGroupDescription}
  979.   g_wszWMSubTitle                = WideString('WM/SubTitle');
  980.   {$EXTERNALSYM g_wszWMSubTitle}
  981.   g_wszWMPartOfSet               = WideString('WM/PartOfSet');
  982.   {$EXTERNALSYM g_wszWMPartOfSet}
  983.   g_wszWMProtectionType          = WideString('WM/ProtectionType');
  984.   {$EXTERNALSYM g_wszWMProtectionType}
  985.   g_wszWMVideoHeight             = WideString('WM/VideoHeight');
  986.   {$EXTERNALSYM g_wszWMVideoHeight}
  987.   g_wszWMVideoWidth              = WideString('WM/VideoWidth');
  988.   {$EXTERNALSYM g_wszWMVideoWidth}
  989.   g_wszWMVideoFrameRate          = WideString('WM/VideoFrameRate');
  990.   {$EXTERNALSYM g_wszWMVideoFrameRate}
  991.   g_wszWMMediaClassPrimaryID     = WideString('WM/MediaClassPrimaryID');
  992.   {$EXTERNALSYM g_wszWMMediaClassPrimaryID}
  993.   g_wszWMMediaClassSecondaryID   = WideString('WM/MediaClassSecondaryID');
  994.   {$EXTERNALSYM g_wszWMMediaClassSecondaryID}
  995.   g_wszWMPeriod                  = WideString('WM/Period');
  996.   {$EXTERNALSYM g_wszWMPeriod}
  997.   g_wszWMCategory                = WideString('WM/Category');
  998.   {$EXTERNALSYM g_wszWMCategory}
  999.   g_wszWMPicture                 = WideString('WM/Picture');
  1000.   {$EXTERNALSYM g_wszWMPicture}
  1001.   g_wszWMLyrics_Synchronised     = WideString('WM/Lyrics_Synchronised');
  1002.   {$EXTERNALSYM g_wszWMLyrics_Synchronised}
  1003.   g_wszWMOriginalLyricist        = WideString('WM/OriginalLyricist');
  1004.   {$EXTERNALSYM g_wszWMOriginalLyricist}
  1005.   g_wszWMOriginalArtist          = WideString('WM/OriginalArtist');
  1006.   {$EXTERNALSYM g_wszWMOriginalArtist}
  1007.   g_wszWMOriginalAlbumTitle      = WideString('WM/OriginalAlbumTitle');
  1008.   {$EXTERNALSYM g_wszWMOriginalAlbumTitle}
  1009.   g_wszWMOriginalReleaseYear     = WideString('WM/OriginalReleaseYear');
  1010.   {$EXTERNALSYM g_wszWMOriginalReleaseYear}
  1011.   g_wszWMOriginalFilename        = WideString('WM/OriginalFilename');
  1012.   {$EXTERNALSYM g_wszWMOriginalFilename}
  1013.   g_wszWMPublisher               = WideString('WM/Publisher');
  1014.   {$EXTERNALSYM g_wszWMPublisher}
  1015.   g_wszWMEncodedBy               = WideString('WM/EncodedBy');
  1016.   {$EXTERNALSYM g_wszWMEncodedBy}
  1017.   g_wszWMEncodingSettings        = WideString('WM/EncodingSettings');
  1018.   {$EXTERNALSYM g_wszWMEncodingSettings}
  1019.   g_wszWMEncodingTime            = WideString('WM/EncodingTime');
  1020.   {$EXTERNALSYM g_wszWMEncodingTime}
  1021.   g_wszWMAuthorURL               = WideString('WM/AuthorURL');
  1022.   {$EXTERNALSYM g_wszWMAuthorURL}
  1023.   g_wszWMUserWebURL              = WideString('WM/UserWebURL');
  1024.   {$EXTERNALSYM g_wszWMUserWebURL}
  1025.   g_wszWMAudioFileURL            = WideString('WM/AudioFileURL');
  1026.   {$EXTERNALSYM g_wszWMAudioFileURL}
  1027.   g_wszWMAudioSourceURL          = WideString('WM/AudioSourceURL');
  1028.   {$EXTERNALSYM g_wszWMAudioSourceURL}
  1029.   g_wszWMLanguage                = WideString('WM/Language');
  1030.   {$EXTERNALSYM g_wszWMLanguage}
  1031.   g_wszWMParentalRating          = WideString('WM/ParentalRating');
  1032.   {$EXTERNALSYM g_wszWMParentalRating}
  1033.   g_wszWMBeatsPerMinute          = WideString('WM/BeatsPerMinute');
  1034.   {$EXTERNALSYM g_wszWMBeatsPerMinute}
  1035.   g_wszWMInitialKey              = WideString('WM/InitialKey');
  1036.   {$EXTERNALSYM g_wszWMInitialKey}
  1037.   g_wszWMMood                    = WideString('WM/Mood');
  1038.   {$EXTERNALSYM g_wszWMMood}
  1039.   g_wszWMText                    = WideString('WM/Text');
  1040.   {$EXTERNALSYM g_wszWMText}
  1041.   g_wszWMDVDID                   = WideString('WM/DVDID');
  1042.   {$EXTERNALSYM g_wszWMDVDID}
  1043.   g_wszWMWMContentID             = WideString('WM/WMContentID');
  1044.   {$EXTERNALSYM g_wszWMWMContentID}
  1045.   g_wszWMWMCollectionID          = WideString('WM/WMCollectionID');
  1046.   {$EXTERNALSYM g_wszWMWMCollectionID}
  1047.   g_wszWMWMCollectionGroupID     = WideString('WM/WMCollectionGroupID');
  1048.   {$EXTERNALSYM g_wszWMWMCollectionGroupID}
  1049.   g_wszWMUniqueFileIdentifier    = WideString('WM/UniqueFileIdentifier');
  1050.   {$EXTERNALSYM g_wszWMUniqueFileIdentifier}
  1051.   g_wszWMModifiedBy              = WideString('WM/ModifiedBy');
  1052.   {$EXTERNALSYM g_wszWMModifiedBy}
  1053.   g_wszWMRadioStationName        = WideString('WM/RadioStationName');
  1054.   {$EXTERNALSYM g_wszWMRadioStationName}
  1055.   g_wszWMRadioStationOwner       = WideString('WM/RadioStationOwner');
  1056.   {$EXTERNALSYM g_wszWMRadioStationOwner}
  1057.   g_wszWMPlaylistDelay           = WideString('WM/PlaylistDelay');
  1058.   {$EXTERNALSYM g_wszWMPlaylistDelay}
  1059.   g_wszWMCodec                   = WideString('WM/Codec');
  1060.   {$EXTERNALSYM g_wszWMCodec}
  1061.   g_wszWMDRM                     = WideString('WM/DRM');
  1062.   {$EXTERNALSYM g_wszWMDRM}
  1063.   g_wszWMISRC                    = WideString('WM/ISRC');
  1064.   {$EXTERNALSYM g_wszWMISRC}
  1065.   g_wszWMProvider                = WideString('WM/Provider');
  1066.   {$EXTERNALSYM g_wszWMProvider}
  1067.   g_wszWMProviderRating          = WideString('WM/ProviderRating');
  1068.   {$EXTERNALSYM g_wszWMProviderRating}
  1069.   g_wszWMProviderStyle           = WideString('WM/ProviderStyle');
  1070.   {$EXTERNALSYM g_wszWMProviderStyle}
  1071.   g_wszWMContentDistributor      = WideString('WM/ContentDistributor');
  1072.   {$EXTERNALSYM g_wszWMContentDistributor}
  1073.   g_wszWMSubscriptionContentID   = WideString('WM/SubscriptionContentID');
  1074.   {$EXTERNALSYM g_wszWMSubscriptionContentID}
  1075.   g_wszWMWMADRCPeakReference     = WideString('WM/WMADRCPeakReference');
  1076.   {$EXTERNALSYM g_wszWMWMADRCPeakReference}
  1077.   g_wszWMWMADRCPeakTarget        = WideString('WM/WMADRCPeakTarget');
  1078.   {$EXTERNALSYM g_wszWMWMADRCPeakTarget}
  1079.   g_wszWMWMADRCAverageReference  = WideString('WM/WMADRCAverageReference');
  1080.   {$EXTERNALSYM g_wszWMWMADRCAverageReference}
  1081.   g_wszWMWMADRCAverageTarget     = WideString('WM/WMADRCAverageTarget');
  1082.   {$EXTERNALSYM g_wszWMWMADRCAverageTarget}
  1083.  
  1084. ///////////////////////////////////////////////////////////////////
  1085.  
  1086. ////////////////////////////////////////////////////////////////
  1087. //
  1088. // These are setting names for use in Get/SetOutputSetting
  1089. //
  1090.   g_wszEarlyDataDelivery       = WideString('EarlyDataDelivery');
  1091.   {$EXTERNALSYM g_wszEarlyDataDelivery}
  1092.   g_wszJustInTimeDecode        = WideString('JustInTimeDecode');
  1093.   {$EXTERNALSYM g_wszJustInTimeDecode}
  1094.   g_wszSingleOutputBuffer      = WideString('SingleOutputBuffer');
  1095.   {$EXTERNALSYM g_wszSingleOutputBuffer}
  1096.   g_wszSoftwareScaling         = WideString('SoftwareScaling');
  1097.   {$EXTERNALSYM g_wszSoftwareScaling}
  1098.   g_wszDeliverOnReceive        = WideString('DeliverOnReceive');
  1099.   {$EXTERNALSYM g_wszDeliverOnReceive}
  1100.   g_wszScrambledAudio          = WideString('ScrambledAudio');
  1101.   {$EXTERNALSYM g_wszScrambledAudio}
  1102.   g_wszDedicatedDeliveryThread = WideString('DedicatedDeliveryThread');
  1103.   {$EXTERNALSYM g_wszDedicatedDeliveryThread}
  1104.   g_wszEnableDiscreteOutput    = WideString('EnableDiscreteOutput');
  1105.   {$EXTERNALSYM g_wszEnableDiscreteOutput}
  1106.   g_wszSpeakerConfig           = WideString('SpeakerConfig');
  1107.   {$EXTERNALSYM g_wszSpeakerConfig}
  1108.   g_wszDynamicRangeControl     = WideString('DynamicRangeControl');
  1109.   {$EXTERNALSYM g_wszDynamicRangeControl}
  1110.   g_wszAllowInterlacedOutput   = WideString('AllowInterlacedOutput');
  1111.   {$EXTERNALSYM g_wszAllowInterlacedOutput}
  1112.   g_wszVideoSampleDurations    = WideString('VideoSampleDurations');
  1113.   {$EXTERNALSYM g_wszVideoSampleDurations}
  1114.   g_wszStreamLanguage          = WideString('StreamLanguage');
  1115.   {$EXTERNALSYM g_wszStreamLanguage}
  1116.  
  1117.  
  1118. ///////////////////////////////////////////////////////////////////
  1119.  
  1120. ////////////////////////////////////////////////////////////////
  1121. //
  1122. // These are setting names for use in Get/SetInputSetting
  1123. //
  1124.   g_wszDeinterlaceMode                  = WideString('DeinterlaceMode');
  1125.   {$EXTERNALSYM g_wszDeinterlaceMode}
  1126.   g_wszInitialPatternForInverseTelecine = WideString('InitialPatternForInverseTelecine');
  1127.   {$EXTERNALSYM g_wszInitialPatternForInverseTelecine}
  1128.   g_wszJPEGCompressionQuality           = WideString('JPEGCompressionQuality');
  1129.   {$EXTERNALSYM g_wszJPEGCompressionQuality}
  1130.   g_wszWatermarkCLSID                   = WideString('WatermarkCLSID');
  1131.   {$EXTERNALSYM g_wszWatermarkCLSID}
  1132.   g_wszWatermarkConfig                  = WideString('WatermarkConfig');
  1133.   {$EXTERNALSYM g_wszWatermarkConfig}
  1134.   g_wszInterlacedCoding                 = WideString('InterlacedCoding');
  1135.   {$EXTERNALSYM g_wszInterlacedCoding}
  1136.   g_wszFixedFrameRate                   = WideString('FixedFrameRate');
  1137.   {$EXTERNALSYM g_wszFixedFrameRate}
  1138.  
  1139.  
  1140. ////////////////////////////////////////////////////////////////
  1141. //
  1142. // All known IWMPropertyVault property names
  1143. //
  1144. // g_wszOriginalSourceFormatTag is obsolete and has been superceded by g_wszOriginalWaveFormat
  1145.   g_wszOriginalSourceFormatTag    = WideString('_SOURCEFORMATTAG');
  1146.   {$EXTERNALSYM g_wszOriginalSourceFormatTag}
  1147.   g_wszOriginalWaveFormat         = WideString('_ORIGINALWAVEFORMAT');
  1148.   {$EXTERNALSYM g_wszOriginalWaveFormat}
  1149.   g_wszEDL                        = WideString('_EDL');
  1150.   {$EXTERNALSYM g_wszEDL}
  1151.   g_wszComplexity                 = WideString('_COMPLEXITYEX');
  1152.   {$EXTERNALSYM g_wszComplexity}
  1153.   g_wszDecoderComplexityRequested = WideString('_DECODERCOMPLEXITYPROFILE');
  1154.   {$EXTERNALSYM g_wszDecoderComplexityRequested}
  1155.  
  1156.  
  1157. ////////////////////////////////////////////////////////////////
  1158. //
  1159. // All known IWMIStreamProps property names
  1160. //
  1161.   g_wszReloadIndexOnSeek            = WideString('ReloadIndexOnSeek');
  1162.   {$EXTERNALSYM g_wszReloadIndexOnSeek}
  1163.   g_wszStreamNumIndexObjects        = WideString('StreamNumIndexObjects');
  1164.   {$EXTERNALSYM g_wszStreamNumIndexObjects}
  1165.   g_wszFailSeekOnError              = WideString('FailSeekOnError');
  1166.   {$EXTERNALSYM g_wszFailSeekOnError}
  1167.   g_wszPermitSeeksBeyondEndOfStream = WideString('PermitSeeksBeyondEndOfStream');
  1168.   {$EXTERNALSYM g_wszPermitSeeksBeyondEndOfStream}
  1169.   g_wszUsePacketAtSeekPoint         = WideString('UsePacketAtSeekPoint');
  1170.   {$EXTERNALSYM g_wszUsePacketAtSeekPoint}
  1171.   g_wszSourceBufferTime             = WideString('SourceBufferTime');
  1172.   {$EXTERNALSYM g_wszSourceBufferTime}
  1173.   g_wszSourceMaxBytesAtOnce         = WideString('SourceMaxBytesAtOnce');
  1174.   {$EXTERNALSYM g_wszSourceMaxBytesAtOnce}
  1175.  
  1176.  
  1177. ///////////////////////////////////////////////////////////////////
  1178.  
  1179. ////////////////////////////////////////////////////////////////
  1180. //
  1181. // VBR encoding settings
  1182. //
  1183.   g_wszVBREnabled         = WideString('_VBRENABLED');
  1184.   {$EXTERNALSYM g_wszVBREnabled}
  1185.   g_wszVBRQuality         = WideString('_VBRQUALITY');
  1186.   {$EXTERNALSYM g_wszVBRQuality}
  1187.   g_wszVBRBitrateMax      = WideString('_RMAX');
  1188.   {$EXTERNALSYM g_wszVBRBitrateMax}
  1189.   g_wszVBRBufferWindowMax = WideString('_BMAX');
  1190.   {$EXTERNALSYM g_wszVBRBufferWindowMax}
  1191.  
  1192.  
  1193. ////////////////////////////////////////////////////////////////
  1194. //
  1195. // VBR Video settings
  1196. //
  1197.   g_wszVBRPeak       = WideString('VBR Peak');
  1198.   {$EXTERNALSYM g_wszVBRPeak}
  1199.   g_wszBufferAverage = WideString('Buffer Average');
  1200.   {$EXTERNALSYM g_wszBufferAverage}
  1201.  
  1202.  
  1203. ////////////////////////////////////////////////////////////////
  1204. //
  1205. // Codec encoding complexity settings
  1206. //
  1207. // g_wszComplexity should be used to set desired encoding complexity on the
  1208. // stream's IWMPropertyVault (see above for definition)
  1209. // The below settings can be queried from IWMCodecInfo3::GetCodecProp()
  1210. //
  1211.   g_wszComplexityMax     = WideString('_COMPLEXITYEXMAX');
  1212.   {$EXTERNALSYM g_wszComplexityMax}
  1213.   g_wszComplexityOffline = WideString('_COMPLEXITYEXOFFLINE');
  1214.   {$EXTERNALSYM g_wszComplexityOffline}
  1215.   g_wszComplexityLive    = WideString('_COMPLEXITYEXLIVE');
  1216.   {$EXTERNALSYM g_wszComplexityLive}
  1217.   g_wszIsVBRSupported    = WideString('_ISVBRSUPPORTED');
  1218.   {$EXTERNALSYM g_wszIsVBRSupported}
  1219.  
  1220.  
  1221. ////////////////////////////////////////////////////////////////
  1222. //
  1223. // Codec enumeration settings
  1224. //
  1225. // g_wszVBREnabled can be used as a codec enumeration setting (see above for definition)
  1226.   g_wszNumPasses = WideString('_PASSESUSED');
  1227.   {$EXTERNALSYM g_wszNumPasses}
  1228.  
  1229.  
  1230. ////////////////////////////////////////////////////////////////
  1231. //
  1232. // These are WMA Voice V9 attribute names and values
  1233. //
  1234.   g_wszMusicSpeechClassMode = WideString('MusicSpeechClassMode');
  1235.   {$EXTERNALSYM g_wszMusicSpeechClassMode}
  1236.   g_wszMusicClassMode       = WideString('MusicClassMode');
  1237.   {$EXTERNALSYM g_wszMusicClassMode}
  1238.   g_wszSpeechClassMode      = WideString('SpeechClassMode');
  1239.   {$EXTERNALSYM g_wszSpeechClassMode}
  1240.   g_wszMixedClassMode       = WideString('MixedClassMode');
  1241.   {$EXTERNALSYM g_wszMixedClassMode}
  1242.  
  1243.  
  1244. ////////////////////////////////////////////////////////////////
  1245. //
  1246. // The WMA Voice V9 supports the following format property.
  1247. //
  1248.   g_wszSpeechCaps = WideString('SpeechFormatCap');
  1249.   {$EXTERNALSYM g_wszSpeechCaps}
  1250.  
  1251.  
  1252. ////////////////////////////////////////////////////////////////
  1253. //
  1254. // Multi-channel WMA properties
  1255. //
  1256.   g_wszPeakValue              = WideString('PeakValue');
  1257.   {$EXTERNALSYM g_wszPeakValue}
  1258.   g_wszAverageLevel           = WideString('AverageLevel');
  1259.   {$EXTERNALSYM g_wszAverageLevel}
  1260.   g_wszFold6To2Channels3      = WideString('Fold6To2Channels3');
  1261.   {$EXTERNALSYM g_wszFold6To2Channels3}
  1262.   g_wszFoldToChannelsTemplate = WideString('Fold%luTo%luChannels%lu');
  1263.   {$EXTERNALSYM g_wszFoldToChannelsTemplate}
  1264.  
  1265.  
  1266. ////////////////////////////////////////////////////////////////
  1267. //
  1268. // Complexity profile description strings
  1269. //
  1270.   g_wszDeviceConformanceTemplate = WideString('DeviceConformanceTemplate');
  1271.   {$EXTERNALSYM g_wszDeviceConformanceTemplate}
  1272.  
  1273.  
  1274. ////////////////////////////////////////////////////////////////
  1275. //
  1276. // Frame interpolation on video decode
  1277. //
  1278.   g_wszEnableFrameInterpolation = WideString('EnableFrameInterpolation');
  1279.   {$EXTERNALSYM g_wszEnableFrameInterpolation}
  1280.  
  1281.  
  1282. ////////////////////////////////////////////////////////////////
  1283. //
  1284. // Needs previous sample for Delta frame on video decode
  1285. //
  1286.   g_wszNeedsPreviousSample = WideString('NeedsPreviousSample');
  1287.   {$EXTERNALSYM g_wszNeedsPreviousSample}
  1288.  
  1289.  
  1290. ///////////////////////////////////////////////////////////////////////////////
  1291. //
  1292. // Enumerations and flags used by the SDK.
  1293. //
  1294. ///////////////////////////////////////////////////////////////////////////////
  1295.  
  1296. ////////////////////////////////////////////////////////////////
  1297. //
  1298. // Flags that can be passed into the Start method of IWMReader
  1299. //
  1300.   WM_START_CURRENTPOSITION = Int64(-1);
  1301.   {$EXTERNALSYM WM_START_CURRENTPOSITION}
  1302.  
  1303. //
  1304. // Flag to force overwrite of existing license backup
  1305. //
  1306.   WM_BACKUP_OVERWRITE       = LongWord($00000001);
  1307.   {$EXTERNALSYM WM_BACKUP_OVERWRITE}
  1308.   WM_RESTORE_INDIVIDUALIZE  = LongWord($00000002);
  1309.   {$EXTERNALSYM WM_RESTORE_INDIVIDUALIZE}
  1310.  
  1311. //
  1312. // Wave format ex type
  1313. //
  1314.   WAVE_FORMAT_DRM           = $0009;
  1315.   {$EXTERNALSYM WAVE_FORMAT_DRM}
  1316.  
  1317. //
  1318. // Sample type ids for Web Streams
  1319. //
  1320.  
  1321.   WEBSTREAM_SAMPLE_TYPE_FILE           = $1;
  1322.   {$EXTERNALSYM WEBSTREAM_SAMPLE_TYPE_FILE}
  1323.   WEBSTREAM_SAMPLE_TYPE_RENDER         = $2;
  1324.   {$EXTERNALSYM WEBSTREAM_SAMPLE_TYPE_RENDER}
  1325.  
  1326. //
  1327. // The flags that can be set on a sample (input or output).
  1328. //
  1329.  
  1330.   WM_SF_CLEANPOINT    = $1;
  1331.   {$EXTERNALSYM WM_SF_CLEANPOINT}
  1332.   WM_SF_DISCONTINUITY = $2;
  1333.   {$EXTERNALSYM WM_SF_DISCONTINUITY}
  1334.   WM_SF_DATALOSS      = $4;
  1335.   {$EXTERNALSYM WM_SF_DATALOSS}
  1336.  
  1337. //
  1338. // These flags might be set for a call to the IWMReaderAllocatorEx methods.
  1339. //
  1340.   WM_SFEX_NOTASYNCPOINT = $2;
  1341.   {$EXTERNALSYM WM_SFEX_NOTASYNCPOINT}
  1342.   WM_SFEX_DATALOSS      = $4;
  1343.   {$EXTERNALSYM WM_SFEX_DATALOSS}
  1344.  
  1345. //
  1346. // Status messages that the reader and index objects can
  1347. // pass in the OnStatus call.
  1348. //
  1349. type
  1350.   WMT_STATUS = (
  1351.     WMT_ERROR,
  1352.     WMT_OPENED,
  1353.     WMT_BUFFERING_START,
  1354.     WMT_BUFFERING_STOP,
  1355.     WMT_END_OF_FILE,
  1356. {$IFDEF COMPILER6_UP}
  1357.     WMT_EOF = 4, 
  1358. {$ENDIF}
  1359.     WMT_END_OF_SEGMENT,
  1360.     WMT_END_OF_STREAMING,
  1361.     WMT_LOCATING,
  1362.     WMT_CONNECTING,
  1363.     WMT_NO_RIGHTS,
  1364.     WMT_MISSING_CODEC,
  1365.     WMT_STARTED,
  1366.     WMT_STOPPED,
  1367.     WMT_CLOSED,
  1368.     WMT_STRIDING,
  1369.     WMT_TIMER,
  1370.     WMT_INDEX_PROGRESS,
  1371.     WMT_SAVEAS_START,
  1372.     WMT_SAVEAS_STOP,
  1373.     WMT_NEW_SOURCEFLAGS,
  1374.     WMT_NEW_METADATA,
  1375.     WMT_BACKUPRESTORE_BEGIN,
  1376.     WMT_SOURCE_SWITCH,
  1377.     WMT_ACQUIRE_LICENSE,
  1378.     WMT_INDIVIDUALIZE,
  1379.     WMT_NEEDS_INDIVIDUALIZATION,
  1380.     WMT_NO_RIGHTS_EX,
  1381.     WMT_BACKUPRESTORE_END,
  1382.     WMT_BACKUPRESTORE_CONNECTING,
  1383.     WMT_BACKUPRESTORE_DISCONNECTING,
  1384.     WMT_ERROR_WITHURL,
  1385.     WMT_RESTRICTED_LICENSE,
  1386.     WMT_CLIENT_CONNECT,
  1387.     WMT_CLIENT_DISCONNECT,
  1388.     WMT_NATIVE_OUTPUT_PROPS_CHANGED,
  1389.     WMT_RECONNECT_START,
  1390.     WMT_RECONNECT_END,
  1391.     WMT_CLIENT_CONNECT_EX,
  1392.     WMT_CLIENT_DISCONNECT_EX,
  1393.     WMT_SET_FEC_SPAN,
  1394.     WMT_PREROLL_READY,
  1395.     WMT_PREROLL_COMPLETE,
  1396.     WMT_CLIENT_PROPERTIES,
  1397.     WMT_LICENSEURL_SIGNATURE_STATE
  1398.   );
  1399.   {$EXTERNALSYM WMT_STATUS}
  1400.   TWMTStatus = WMT_STATUS;
  1401.  
  1402. {$IFNDEF COMPILER6_UP}
  1403. const
  1404.   WMT_EOF = WMT_END_OF_FILE;
  1405.   {$NODEFINE WMT_EOF}
  1406. {$ENDIF}
  1407.  
  1408.  
  1409. type
  1410.   WMT_RIGHTS = {$IFDEF TYPE_IDENTITY}type {$ENDIF} LongWord;
  1411.   {$EXTERNALSYM WMT_RIGHTS}
  1412.   const
  1413.     WMT_RIGHT_PLAYBACK                  = $00000001;
  1414.     {$EXTERNALSYM WMT_RIGHT_PLAYBACK}
  1415.     WMT_RIGHT_COPY_TO_NON_SDMI_DEVICE   = $00000002;
  1416.     {$EXTERNALSYM WMT_RIGHT_COPY_TO_NON_SDMI_DEVICE}
  1417.     WMT_RIGHT_COPY_TO_CD                = $00000008;
  1418.     {$EXTERNALSYM WMT_RIGHT_COPY_TO_CD}
  1419.     WMT_RIGHT_COPY_TO_SDMI_DEVICE       = $00000010;
  1420.     {$EXTERNALSYM WMT_RIGHT_COPY_TO_SDMI_DEVICE}
  1421.     WMT_RIGHT_ONE_TIME                  = $00000020;
  1422.     {$EXTERNALSYM WMT_RIGHT_ONE_TIME}
  1423.     WMT_RIGHT_SAVE_STREAM_PROTECTED     = $00000040;
  1424.     {$EXTERNALSYM WMT_RIGHT_SAVE_STREAM_PROTECTED}
  1425.     WMT_RIGHT_SDMI_TRIGGER              = $00010000;
  1426.     {$EXTERNALSYM WMT_RIGHT_SDMI_TRIGGER}
  1427.     WMT_RIGHT_SDMI_NOMORECOPIES         = $00020000;
  1428.     {$EXTERNALSYM WMT_RIGHT_SDMI_NOMORECOPIES}
  1429.  
  1430. //
  1431. // Stream selection statuses (stati?).
  1432. //
  1433. type
  1434.   PWMTStreamSelection = ^TWMTStreamSelection;
  1435.   WMT_STREAM_SELECTION = (
  1436.     WMT_OFF,
  1437.     WMT_CLEANPOINT_ONLY,
  1438.     WMT_ON
  1439.   );
  1440.   {$EXTERNALSYM WMT_STREAM_SELECTION}
  1441.   TWMTStreamSelection = WMT_STREAM_SELECTION;
  1442.  
  1443. //
  1444. // Image types (used with CBO)
  1445. //
  1446.   WMT_IMAGE_TYPE = (
  1447.     WMT_IT_NONE,
  1448.     WMT_IT_BITMAP,
  1449.     WMT_IT_JPEG,
  1450.     WMT_IT_GIF
  1451.   );
  1452.   {$EXTERNALSYM WMT_IMAGE_TYPE}
  1453.   TWMTImageType = WMT_IMAGE_TYPE;
  1454.  
  1455. //
  1456. // Attribute datatypes.
  1457. //
  1458.   WMT_ATTR_DATATYPE = (
  1459.     WMT_TYPE_DWORD,
  1460.     WMT_TYPE_STRING,
  1461.     WMT_TYPE_BINARY,
  1462.     WMT_TYPE_BOOL,
  1463.     WMT_TYPE_QWORD,
  1464.     WMT_TYPE_WORD,
  1465.     WMT_TYPE_GUID
  1466.   );
  1467.   {$EXTERNALSYM WMT_ATTR_DATATYPE}
  1468.   TWMTAttrDataType = WMT_ATTR_DATATYPE;
  1469.  
  1470. //
  1471. // Types of images that can be stored in the header of a Windows Media File.
  1472. //
  1473.   WMT_ATTR_IMAGETYPE = (
  1474. {$IFNDEF COMPILER6_UP}
  1475.     WMT_IMAGETYPE_INVALID_0,
  1476.     WMT_IMAGETYPE_BITMAP,
  1477. {$ELSE}
  1478.     WMT_IMAGETYPE_BITMAP = 1,
  1479. {$ENDIF}
  1480.     WMT_IMAGETYPE_JPEG,
  1481.     WMT_IMAGETYPE_GIF
  1482.   );
  1483.   {$EXTERNALSYM WMT_ATTR_IMAGETYPE}
  1484.   TWMTAttrImageType = WMT_ATTR_IMAGETYPE;
  1485.  
  1486. //
  1487. // Windows Media versions.
  1488. //
  1489.   WMT_VERSION = {$IFDEF TYPE_IDENTITY}type {$ENDIF} LongWord;
  1490.   {$EXTERNALSYM WMT_VERSION}
  1491.   const
  1492.     WMT_VER_4_0 = $00040000;
  1493.     {$EXTERNALSYM WMT_VER_4_0}
  1494.     WMT_VER_7_0 = $00070000;
  1495.     {$EXTERNALSYM WMT_VER_7_0}
  1496.     WMT_VER_8_0 = $00080000;
  1497.     {$EXTERNALSYM WMT_VER_8_0}
  1498.     WMT_VER_9_0 = $00090000;
  1499.     {$EXTERNALSYM WMT_VER_9_0}
  1500.  
  1501. //
  1502. // Storage formats.  These are the values returned when querying
  1503. // the WM/ContainerFormat attribute (g_wszWMContainerFormat).
  1504. //
  1505. type
  1506.   tagWMT_STORAGE_FORMAT = (
  1507.     WMT_Storage_Format_MP3,
  1508.     WMT_Storage_Format_V1
  1509.   );
  1510.   {$EXTERNALSYM tagWMT_STORAGE_FORMAT}
  1511.   WMT_STORAGE_FORMAT = tagWMT_STORAGE_FORMAT;
  1512.   {$EXTERNALSYM WMT_STORAGE_FORMAT}
  1513.   TWMTStorageFormat = tagWMT_STORAGE_FORMAT;
  1514.  
  1515.   tagWMT_DRMLA_TRUST = (
  1516.     WMT_DRMLA_UNTRUSTED,
  1517.     WMT_DRMLA_TRUSTED,
  1518.     WMT_DRMLA_TAMPERED
  1519.   );
  1520.   {$EXTERNALSYM tagWMT_DRMLA_TRUST}
  1521.   WMT_DRMLA_TRUST = tagWMT_DRMLA_TRUST;
  1522.   {$EXTERNALSYM WMT_DRMLA_TRUST}
  1523.   TWMTDRMLATrust = tagWMT_DRMLA_TRUST;
  1524.  
  1525. //
  1526. // Type of data communication protocol (reliable or unreliable)
  1527. //
  1528.   tagWMT_TRANSPORT_TYPE = (
  1529.    WMT_Transport_Type_Unreliable,
  1530.    WMT_Transport_Type_Reliable
  1531.   );
  1532.   {$EXTERNALSYM tagWMT_TRANSPORT_TYPE}
  1533.   WMT_TRANSPORT_TYPE = tagWMT_TRANSPORT_TYPE;
  1534.   {$EXTERNALSYM WMT_TRANSPORT_TYPE}
  1535.   TWMTTransportType = tagWMT_TRANSPORT_TYPE;
  1536.  
  1537. //
  1538. // Protocols that the network sink supports.
  1539. //
  1540.   WMT_NET_PROTOCOL = (
  1541.     WMT_PROTOCOL_HTTP
  1542.   );
  1543.   {$EXTERNALSYM WMT_NET_PROTOCOL}
  1544.   TWMTNetProtocol = WMT_NET_PROTOCOL;
  1545.  
  1546. //
  1547. // The reader supports a number of different types of playback, each with
  1548. // slightly different characteristics.
  1549. //
  1550.   WMT_PLAY_MODE = (
  1551.     WMT_PLAY_MODE_AUTOSELECT,
  1552.     WMT_PLAY_MODE_LOCAL,
  1553.     WMT_PLAY_MODE_DOWNLOAD,
  1554.     WMT_PLAY_MODE_STREAMING
  1555.   );
  1556.   {$EXTERNALSYM WMT_PLAY_MODE}
  1557.   TWMTPlayMode = WMT_PLAY_MODE;
  1558.  
  1559. //
  1560. // Network Proxy settings for the reader
  1561. //
  1562.   WMT_PROXY_SETTINGS = (
  1563.     WMT_PROXY_SETTING_NONE,
  1564.     WMT_PROXY_SETTING_MANUAL,
  1565.     WMT_PROXY_SETTING_AUTO,
  1566.     WMT_PROXY_SETTING_BROWSER,       // Only valid for HTTP
  1567.     WMT_PROXY_SETTING_MAX
  1568.   );
  1569.   {$EXTERNALSYM WMT_PROXY_SETTINGS}
  1570.   TWMTProxySettings = WMT_PROXY_SETTINGS;
  1571.  
  1572.   WMT_CODEC_INFO_TYPE = {$IFDEF TYPE_IDENTITY}type {$ENDIF} LongWord;
  1573.   {$EXTERNALSYM WMT_CODEC_INFO_TYPE}
  1574.   const
  1575.     WMT_CODECINFO_AUDIO = 0;            // codec info is a Word = wFormatTag
  1576.     {$EXTERNALSYM WMT_CODECINFO_AUDIO}
  1577.     WMT_CODECINFO_VIDEO = 1;            // codec info is a LongWord = biCompression
  1578.     {$EXTERNALSYM WMT_CODECINFO_VIDEO}
  1579.     WMT_CODECINFO_UNKNOWN = $FFFFFFFF;  // codec info is undefined
  1580.     {$EXTERNALSYM WMT_CODECINFO_UNKNOWN}
  1581.  
  1582. //
  1583. // These values can be passed in when setting the DeinterlaceMode
  1584. // setting on the writer
  1585. //
  1586.   WM_DM_NOTINTERLACED                          = LongWord(0);
  1587.   {$EXTERNALSYM WM_DM_NOTINTERLACED}
  1588.   WM_DM_DEINTERLACE_NORMAL                     = LongWord(1);
  1589.   {$EXTERNALSYM WM_DM_DEINTERLACE_NORMAL}
  1590.   WM_DM_DEINTERLACE_HALFSIZE                   = LongWord(2);
  1591.   {$EXTERNALSYM WM_DM_DEINTERLACE_HALFSIZE}
  1592.   WM_DM_DEINTERLACE_HALFSIZEDOUBLERATE         = LongWord(3);
  1593.   {$EXTERNALSYM WM_DM_DEINTERLACE_HALFSIZEDOUBLERATE}
  1594.   WM_DM_DEINTERLACE_INVERSETELECINE            = LongWord(4);
  1595.   {$EXTERNALSYM WM_DM_DEINTERLACE_INVERSETELECINE}
  1596.   WM_DM_DEINTERLACE_VERTICALHALFSIZEDOUBLERATE = LongWord(5);
  1597.   {$EXTERNALSYM WM_DM_DEINTERLACE_VERTICALHALFSIZEDOUBLERATE}
  1598.  
  1599. //
  1600. // These values can be passed to further configure the inverse
  1601. // telecine process
  1602. //
  1603.  
  1604.   WM_DM_IT_DISABLE_COHERENT_MODE              = LongWord(0);
  1605.   {$EXTERNALSYM WM_DM_IT_DISABLE_COHERENT_MODE}
  1606.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_AA_TOP      = LongWord(1);
  1607.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_AA_TOP}
  1608.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_BB_TOP      = LongWord(2);
  1609.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_BB_TOP}
  1610.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_BC_TOP      = LongWord(3);
  1611.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_BC_TOP}
  1612.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_CD_TOP      = LongWord(4);
  1613.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_CD_TOP}
  1614.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_DD_TOP      = LongWord(5);
  1615.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_DD_TOP}
  1616.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_AA_BOTTOM   = LongWord(6);
  1617.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_AA_BOTTOM}
  1618.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_BB_BOTTOM   = LongWord(7);
  1619.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_BB_BOTTOM}
  1620.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_BC_BOTTOM   = LongWord(8);
  1621.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_BC_BOTTOM}
  1622.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_CD_BOTTOM   = LongWord(9);
  1623.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_CD_BOTTOM}
  1624.   WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_DD_BOTTOM   = LongWord(10);
  1625.   {$EXTERNALSYM WM_DM_IT_FIRST_FRAME_IN_CLIP_IS_DD_BOTTOM}
  1626.  
  1627.  
  1628. //
  1629. // Frame level access data structures
  1630. //
  1631. type
  1632.   tagWMT_OFFSET_FORMAT = (
  1633.     WMT_OFFSET_FORMAT_100NS,
  1634.     WMT_OFFSET_FORMAT_FRAME_NUMBERS,
  1635.     WMT_OFFSET_FORMAT_PLAYLIST_OFFSET,
  1636.     WMT_OFFSET_FORMAT_TIMECODE
  1637.   );
  1638.   {$EXTERNALSYM tagWMT_OFFSET_FORMAT}
  1639.   WMT_OFFSET_FORMAT = tagWMT_OFFSET_FORMAT;
  1640.   {$EXTERNALSYM WMT_OFFSET_FORMAT}
  1641.   TWMTOffsetFormat = tagWMT_OFFSET_FORMAT;
  1642.  
  1643. //
  1644. // Indexer type and index type
  1645. //
  1646.   tagWMT_INDEXER_TYPE = (
  1647.     WMT_IT_PRESENTATION_TIME,
  1648.     WMT_IT_FRAME_NUMBERS,
  1649.     WMT_IT_TIMECODE
  1650.   );
  1651.   {$EXTERNALSYM tagWMT_INDEXER_TYPE}
  1652.   WMT_INDEXER_TYPE = tagWMT_INDEXER_TYPE;
  1653.   {$EXTERNALSYM WMT_INDEXER_TYPE}
  1654.   TWMTIndexerType = tagWMT_INDEXER_TYPE;
  1655.  
  1656.   tagWMT_INDEX_TYPE = (
  1657.   {$IFNDEF COMPILER6_UP}
  1658.     WMT_IT_NEAREST_INVALID_0,
  1659.     WMT_IT_NEAREST_DATA_UNIT,
  1660.   {$ELSE}
  1661.     WMT_IT_NEAREST_DATA_UNIT = 1,
  1662.   {$ENDIF}
  1663.     WMT_IT_NEAREST_OBJECT,
  1664.     WMT_IT_NEAREST_CLEAN_POINT
  1665.   );
  1666.   {$EXTERNALSYM tagWMT_INDEX_TYPE}
  1667.   WMT_INDEX_TYPE = tagWMT_INDEX_TYPE;
  1668.   {$EXTERNALSYM WMT_INDEX_TYPE}
  1669.   TWMTIndexType = tagWMT_INDEX_TYPE;
  1670.  
  1671. //
  1672. // The types of input accepted by the file sink
  1673. //
  1674.   WMT_FILESINK_MODE = {$IFDEF TYPE_IDENTITY}type {$ENDIF} LongWord;
  1675.   {$EXTERNALSYM WMT_FILESINK_MODE}
  1676.   const
  1677.     WMT_FM_SINGLE_BUFFERS       = $00000001;
  1678.     {$EXTERNALSYM WMT_FM_SINGLE_BUFFERS}
  1679.     WMT_FM_FILESINK_DATA_UNITS  = $00000002;
  1680.     {$EXTERNALSYM WMT_FM_FILESINK_DATA_UNITS}
  1681.     WMT_FM_FILESINK_UNBUFFERED  = $00000004;
  1682.     {$EXTERNALSYM WMT_FM_FILESINK_UNBUFFERED}
  1683.  
  1684. //
  1685. // WMA Voice V9 supports several type of compression,
  1686. // profile settting are mapped to these constants
  1687. //
  1688. type
  1689.   tagWMT_MUSICSPEECH_CLASS_MODE = (
  1690.     WMT_MS_CLASS_MUSIC,
  1691.     WMT_MS_CLASS_SPEECH,
  1692.     WMT_MS_CLASS_MIXED
  1693.   );
  1694.   {$EXTERNALSYM tagWMT_MUSICSPEECH_CLASS_MODE}
  1695.   WMT_MUSICSPEECH_CLASS_MODE = tagWMT_MUSICSPEECH_CLASS_MODE;
  1696.   {$EXTERNALSYM WMT_MUSICSPEECH_CLASS_MODE}
  1697.   TWMTMusicSpeechClassMode = tagWMT_MUSICSPEECH_CLASS_MODE;
  1698.  
  1699.   tagWMT_WATERMARK_ENTRY_TYPE = (
  1700.   {$IFNDEF COMPILER6_UP}
  1701.     WMT_WMETYPE_INVALID_0,
  1702.     WMT_WMETYPE_AUDIO,
  1703.   {$ELSE}
  1704.     WMT_WMETYPE_AUDIO = 1,
  1705.   {$ENDIF}
  1706.     WMT_WMETYPE_VIDEO
  1707.   );
  1708.   {$EXTERNALSYM tagWMT_WATERMARK_ENTRY_TYPE}
  1709.   WMT_WATERMARK_ENTRY_TYPE = tagWMT_WATERMARK_ENTRY_TYPE;
  1710.   {$EXTERNALSYM WMT_WATERMARK_ENTRY_TYPE}
  1711.   TWMTWatermarkEntryType = tagWMT_WATERMARK_ENTRY_TYPE;
  1712.  
  1713. //
  1714. // Dynamic Range Control values for playback
  1715. //
  1716. const
  1717.   WM_PLAYBACK_DRC_HIGH    = 0;
  1718.   {$EXTERNALSYM WM_PLAYBACK_DRC_HIGH}
  1719.   WM_PLAYBACK_DRC_MEDIUM  = 1;
  1720.   {$EXTERNALSYM WM_PLAYBACK_DRC_MEDIUM}
  1721.   WM_PLAYBACK_DRC_LOW     = 2;
  1722.   {$EXTERNALSYM WM_PLAYBACK_DRC_LOW}
  1723.  
  1724. //
  1725. // Timecode frame rates.  These are meant to be used as the
  1726. // values for the stream-based frame rate metadata attribute.
  1727. // See the WM Format SDK docs for more details.
  1728. //
  1729.   WMT_TIMECODE_FRAMERATE_30      = 0;
  1730.   {$EXTERNALSYM WMT_TIMECODE_FRAMERATE_30}
  1731.   WMT_TIMECODE_FRAMERATE_30DROP  = 1;
  1732.   {$EXTERNALSYM WMT_TIMECODE_FRAMERATE_30DROP}
  1733.   WMT_TIMECODE_FRAMERATE_25      = 2;
  1734.   {$EXTERNALSYM WMT_TIMECODE_FRAMERATE_25}
  1735.   WMT_TIMECODE_FRAMERATE_24      = 3;
  1736.   {$EXTERNALSYM WMT_TIMECODE_FRAMERATE_24}
  1737.  
  1738.  
  1739. //
  1740. // Flags that can be specified in IWMCredentialCallback::AcquireCredentials()
  1741. //
  1742. type
  1743.   WMT_CREDENTIAL_FLAGS = {$IFDEF TYPE_IDENTITY}type {$ENDIF} LongWord;
  1744.   {$EXTERNALSYM WMT_CREDENTIAL_FLAGS}
  1745.   const
  1746.     WMT_CREDENTIAL_SAVE                 = $00000001;       // Save the credentials in a persistent manner
  1747.     {$EXTERNALSYM WMT_CREDENTIAL_SAVE}
  1748.     WMT_CREDENTIAL_DONT_CACHE           = $00000002;       // Don't cache the credentials in memory
  1749.     {$EXTERNALSYM WMT_CREDENTIAL_DONT_CACHE}
  1750.     WMT_CREDENTIAL_CLEAR_TEXT           = $00000004;       // Credentials will be sent in clear text
  1751.     {$EXTERNALSYM WMT_CREDENTIAL_CLEAR_TEXT}
  1752.     WMT_CREDENTIAL_PROXY                = $00000008;       // Credentials are for a proxy server
  1753.     {$EXTERNALSYM WMT_CREDENTIAL_PROXY}
  1754.     WMT_CREDENTIAL_ENCRYPT              = $00000010;       // Encryption supported/used (in request/response, respectively)
  1755.     {$EXTERNALSYM WMT_CREDENTIAL_ENCRYPT}
  1756.  
  1757. type
  1758.   WM_AETYPE = {$IFDEF TYPE_IDENTITY}type {$ENDIF} LongWord;
  1759.   {$EXTERNALSYM WM_AETYPE}
  1760.   const
  1761.     WM_AETYPE_INCLUDE   = $69;
  1762.     {$EXTERNALSYM WM_AETYPE_INCLUDE}
  1763.     WM_AETYPE_EXCLUDE   = $65;
  1764.     {$EXTERNALSYM WM_AETYPE_EXCLUDE}
  1765.  
  1766.  
  1767. ///////////////////////////////////////////////////////////////////////////////
  1768. //
  1769. // Structures used by the SDK.
  1770. //
  1771. ///////////////////////////////////////////////////////////////////////////////
  1772.  
  1773. //
  1774. // Stream prioritization struct
  1775. //
  1776. type
  1777.   PWMStreamPrioritizationRecord = ^TWMStreamPrioritizationRecord;
  1778.   _WMStreamPrioritizationRecord = packed record
  1779.     wStreamNumber: Word;
  1780.     fMandatory   : BOOL;
  1781.   end;
  1782.   {$EXTERNALSYM _WMStreamPrioritizationRecord}
  1783.   WM_STREAM_PRIORITY_RECORD = _WMStreamPrioritizationRecord;
  1784.   {$EXTERNALSYM WM_STREAM_PRIORITY_RECORD}
  1785.   TWMStreamPrioritizationRecord = _WMStreamPrioritizationRecord;
  1786.  
  1787. //
  1788. // Writer Statistics struct
  1789. //
  1790.   PWMWriterStatistics = ^TWMWriterStatistics;
  1791.   _WMWriterStatistics = packed record
  1792.     qwSampleCount        : Int64;
  1793.     qwByteCount          : Int64;
  1794.  
  1795.     qwDroppedSampleCount : Int64;
  1796.     qwDroppedByteCount   : Int64;
  1797.  
  1798.     dwCurrentBitrate     : LongWord;
  1799.     dwAverageBitrate     : LongWord;
  1800.     dwExpectedBitrate    : LongWord;
  1801.  
  1802.     //
  1803.     // Sample rates are given as 1000 * (samples / second).
  1804.     //
  1805.     dwCurrentSampleRate  : LongWord;
  1806.     dwAverageSampleRate  : LongWord;
  1807.     dwExpectedSampleRate : LongWord;
  1808.   end;
  1809.   {$EXTERNALSYM _WMWriterStatistics}
  1810.   WM_WRITER_STATISTICS = _WMWriterStatistics;
  1811.   {$EXTERNALSYM WM_WRITER_STATISTICS}
  1812.   TWMWriterStatistics = _WMWriterStatistics;
  1813.  
  1814. //
  1815. // Extended Writer Statistics
  1816. //
  1817.   PWMWriterStatisticsEx = ^TWMWriterStatisticsEx;
  1818.   _WMWriterStatisticsEx = packed record
  1819.     //
  1820.     // Bitrate that includes overhead
  1821.     //
  1822.     dwBitratePlusOverhead : LongWord;
  1823.  
  1824.     //
  1825.     // Sample rates are given as 1000 * (samples / second)
  1826.     //
  1827.     dwCurrentSampleDropRateInQueue       : LongWord;
  1828.     dwCurrentSampleDropRateInCodec       : LongWord;
  1829.     dwCurrentSampleDropRateInMultiplexer : LongWord;
  1830.  
  1831.     //
  1832.     // Cumulative sample drops
  1833.     //
  1834.     dwTotalSampleDropsInQueue       : LongWord;
  1835.     dwTotalSampleDropsInCodec       : LongWord;
  1836.     dwTotalSampleDropsInMultiplexer : LongWord;
  1837.   end;
  1838.   {$EXTERNALSYM _WMWriterStatisticsEx}
  1839.   WM_WRITER_STATISTICS_EX = _WMWriterStatisticsEx;
  1840.   {$EXTERNALSYM WM_WRITER_STATISTICS_EX}
  1841.   TWMWriterStatisticsEx = _WMWriterStatisticsEx;
  1842.  
  1843. //
  1844. // Reader Statistics struct
  1845. //
  1846.   PWMReaderStatistics = ^TWMReaderStatistics;
  1847.   _WMReaderStatistics = packed record
  1848.     cbSize            : LongWord;
  1849.     dwBandwidth       : LongWord;
  1850.     cPacketsReceived  : LongWord;
  1851.     cPacketsRecovered : LongWord;
  1852.     cPacketsLost      : LongWord;
  1853.     wQuality          : Word;
  1854.   end;
  1855.   {$EXTERNALSYM _WMReaderStatistics}
  1856.   WM_READER_STATISTICS = _WMReaderStatistics;
  1857.   {$EXTERNALSYM WM_READER_STATISTICS}
  1858.   TWMReaderStatistics = _WMReaderStatistics;
  1859.  
  1860. //
  1861. // Reader Client Info struct
  1862. //
  1863.   PWMReaderClientInfo = ^TWMReaderClientInfo;
  1864.   _WMReaderClientInfo = packed record
  1865.     cbSize              : LongWord;
  1866.     wszLang             : PWideChar; // 2-3 letter language code
  1867.     wszBrowserUserAgent : PWideChar; // Embedded browser's user-agent string
  1868.     wszBrowserWebPage   : PWideChar; // The web page that contains the plugin
  1869.     qwReserved          : Int64;     // Reserved
  1870.     pReserved           : PLongInt;  // Reserved
  1871.     wszHostExe          : PWideChar; // iexplore.exe, netscape.exe dshow.exe, etc
  1872.     qwHostVersion       : Int64;     // Version of the host application e.g.:4.70.12.15
  1873.     wszPlayerUserAgent  : PWideChar; // String identifying the player application, e.g. WMPlayer/9.0.0.0
  1874.   end;
  1875.   {$EXTERNALSYM _WMReaderClientInfo}
  1876.   WM_READER_CLIENTINFO = _WMReaderClientInfo;
  1877.   {$EXTERNALSYM WM_READER_CLIENTINFO}
  1878.   TWMReaderClientInfo = _WMReaderClientInfo;
  1879.  
  1880.  
  1881. //
  1882. // This structure is returned with the WMT_CLIENT_CONNECT and
  1883. // WMT_CLIENT_DISCONNECT status notifications.  It is also used
  1884. // by IWMClientConnections.
  1885. //
  1886.   PWMClientProperties = ^TWMClientProperties;
  1887.   _WMClientProperties = packed record
  1888.     dwIPAddress : LongWord;
  1889.     dwPort      : LongWord;
  1890.   end;
  1891.   {$EXTERNALSYM _WMClientProperties}
  1892.   WM_CLIENT_PROPERTIES = _WMClientProperties;
  1893.   {$EXTERNALSYM WM_CLIENT_PROPERTIES}
  1894.   TWMClientProperties = _WMClientProperties;
  1895.  
  1896. //
  1897. // This structure is returned with the WMT_CLIENT_CONNECT_EX, WMT_CLIENT_DISCONNECT_EX
  1898. // and WMT_CLIENT_PROPERTIES status notifications.
  1899. //
  1900.   PWMClientPropertiesEx = ^TWMClientPropertiesEx;
  1901.   _WMClientPropertiesEx = packed record
  1902.     cbSize        : LongWord;     // size of structure
  1903.     pwszIPAddress : PWideChar; // IP address in dot notation
  1904.     pwszPort      : PWideChar; // Client's port number
  1905.     pwszDNSName   : PWideChar; // DNS name of client, if known
  1906.   end;
  1907.   {$EXTERNALSYM _WMClientPropertiesEx}
  1908.   WM_CLIENT_PROPERTIES_EX = _WMClientPropertiesEx;
  1909.   {$EXTERNALSYM WM_CLIENT_PROPERTIES_EX}
  1910.   TWMClientPropertiesEx = _WMClientPropertiesEx;
  1911.  
  1912. //
  1913. // Inclusive port number range.
  1914. // Used by IWMReaderNetworkConfig.
  1915. //
  1916.   PWMPortNumberRange = ^TWMPortNumberRange;
  1917.   _WMPortNumberRange = packed record
  1918.     wPortBegin : Word;
  1919.     wPortEnd   : Word;
  1920.   end;
  1921.   {$EXTERNALSYM _WMPortNumberRange}
  1922.   WM_PORT_NUMBER_RANGE = _WMPortNumberRange;
  1923.   {$EXTERNALSYM WM_PORT_NUMBER_RANGE}
  1924.   TWMPortNumberRange = _WMPortNumberRange;
  1925.  
  1926. //
  1927. // For passing data units to the file sink
  1928. //
  1929.   PWMTBufferSegment = ^TWMTBufferSegment;
  1930.   _WMT_BUFFER_SEGMENT = packed record
  1931.     pBuffer  : INSSBuffer;
  1932.     cbOffset : LongWord;
  1933.     cbLength : LongWord;
  1934.   end;
  1935.   {$EXTERNALSYM _WMT_BUFFER_SEGMENT}
  1936.   WMT_BUFFER_SEGMENT = _WMT_BUFFER_SEGMENT;
  1937.   {$EXTERNALSYM WMT_BUFFER_SEGMENT}
  1938.   TWMTBufferSegment = _WMT_BUFFER_SEGMENT;
  1939.  
  1940.   PWMTPayloadFragment = ^TWMTPayloadFragment;
  1941.   _WMT_PAYLOAD_FRAGMENT = packed record
  1942.     dwPayloadIndex : LongWord;
  1943.     segmentData    : TWMTBufferSegment;
  1944.   end;
  1945.   {$EXTERNALSYM _WMT_PAYLOAD_FRAGMENT}
  1946.   WMT_PAYLOAD_FRAGMENT = _WMT_PAYLOAD_FRAGMENT;
  1947.   {$EXTERNALSYM WMT_PAYLOAD_FRAGMENT}
  1948.   TWMTPayloadFragment = _WMT_PAYLOAD_FRAGMENT;
  1949.  
  1950.   PWMTFileSinkDataUnit = ^TWMTFileSinkDataUnit;
  1951.   _WMT_FILESINK_DATA_UNIT = packed record
  1952.     packetHeaderBuffer    : TWMTBufferSegment;
  1953.  
  1954.     cPayloads             : LongWord;
  1955.     pPayloadHeaderBuffers : PWMTBufferSegment;
  1956.  
  1957.     cPayloadDataFragments : LongWord;
  1958.     pPayloadDataFragments : PWMTPayloadFragment;
  1959.   end;
  1960.   {$EXTERNALSYM _WMT_FILESINK_DATA_UNIT}
  1961.   WMT_FILESINK_DATA_UNIT = _WMT_FILESINK_DATA_UNIT;
  1962.   {$EXTERNALSYM WMT_FILESINK_DATA_UNIT}
  1963.   TWMTFileSinkDataUnit = _WMT_FILESINK_DATA_UNIT;
  1964.  
  1965.   PWMTWebStreamFormat = ^TWMTWebStreamFormat;
  1966.   _WMT_WEBSTREAM_FORMAT = packed record
  1967.    cbSize                  : Word; // Set to sizeof( WMT_WEBSTREAM_FORMAT )
  1968.    cbSampleHeaderFixedData : Word; // Length of the fixed part of the sample header should be
  1969.                                    // set to sizeof( WMT_WEBSTREAM_SAMPLE_HEADER )
  1970.    wVersion                : Word;
  1971.    wReserved               : Word; // Reserved. Should be set to 0.
  1972.   end;
  1973.   {$EXTERNALSYM _WMT_WEBSTREAM_FORMAT}
  1974.   WMT_WEBSTREAM_FORMAT = _WMT_WEBSTREAM_FORMAT;
  1975.   {$EXTERNALSYM WMT_WEBSTREAM_FORMAT}
  1976.   TWMTWebStreamFormat = WMT_WEBSTREAM_FORMAT;
  1977.  
  1978.   PWMTWebStreamSampleHeader = ^TWMTWebStreamSampleHeader;
  1979.   _WMT_WEBSTREAM_SAMPLE_HEADER = packed record
  1980.     cbLength    : Word;                 // Length of this header including string data
  1981.                                         // should be set to sizeof( WMT_WEBSTREAM_SAMPLE_HEADER ) +
  1982.                                         // wcslen( wszURL ) * sizeof( WCHAR )
  1983.     wPart       : Word;                 // Current part. From 0 to cTotalParts - 1
  1984.     cTotalParts : Word;                 // Total number of parts for this file must be at least 1.
  1985.     wSampleType : Word;                 // Sample type. Should be set to
  1986.                                         //     WEBSTREAM_SAMPLE_TYPE_FILE = 0x0001 or
  1987.                                         //     WEBSTREAM_SAMPLE_TYPE_RENDER = 0x0002
  1988.     wszURL      : array[0..0] of WCHAR; // Variable length string data containing file url
  1989.   end;
  1990.   {$EXTERNALSYM _WMT_WEBSTREAM_SAMPLE_HEADER}
  1991.   WMT_WEBSTREAM_SAMPLE_HEADER = _WMT_WEBSTREAM_SAMPLE_HEADER;
  1992.   {$EXTERNALSYM WMT_WEBSTREAM_SAMPLE_HEADER}
  1993.   TWMTWebStreamSampleHeader = _WMT_WEBSTREAM_SAMPLE_HEADER;
  1994.  
  1995.   PWMAddressAccessEntry = ^TWMAddressAccessEntry;
  1996.   _WMAddressAccessEntry = packed record
  1997.     dwIPAddress : LongWord;
  1998.     dwMask      : LongWord;
  1999.   end;
  2000.   {$EXTERNALSYM _WMAddressAccessEntry}
  2001.   WM_ADDRESS_ACCESSENTRY = _WMAddressAccessEntry;
  2002.   {$EXTERNALSYM WM_ADDRESS_ACCESSENTRY}
  2003.   TWMAddressAccessEntry = _WMAddressAccessEntry;
  2004.  
  2005. ///////////////////////////////////////////////////////////////////////////////
  2006. //
  2007. // Structures for complex metadata attributes
  2008. //
  2009. ///////////////////////////////////////////////////////////////////////////////
  2010.  
  2011.   PWMPicture = ^TWMPicture;
  2012.   _WMPicture = packed record
  2013.     pwszMIMEType    : PWideChar;
  2014.     bPictureType    : BYTE;
  2015.     pwszDescription : PWideChar;
  2016.     dwDataLen       : LongWord;
  2017.     pbData          : PBYTE;
  2018.   end;
  2019.   {$EXTERNALSYM _WMPicture}
  2020.   WM_PICTURE = _WMPicture;
  2021.   {$EXTERNALSYM WM_PICTURE}
  2022.   TWMPicture = _WMPicture;
  2023.  
  2024.   PWMSynchronisedLyrics = ^TWMSynchronisedLyrics;
  2025.   _WMSynchronisedLyrics = packed record
  2026.     bTimeStampFormat      : BYTE;
  2027.     bContentType          : BYTE;
  2028.     pwszContentDescriptor : PWideChar;
  2029.     dwLyricsLen           : LongWord;
  2030.     pbLyrics              : PBYTE;
  2031.   end;
  2032.   {$EXTERNALSYM _WMSynchronisedLyrics}
  2033.   WM_SYNCHRONISED_LYRICS = _WMSynchronisedLyrics;
  2034.   {$EXTERNALSYM WM_SYNCHRONISED_LYRICS}
  2035.   TWMSynchronisedLyrics = _WMSynchronisedLyrics;
  2036.  
  2037.   PWMUserWebURL = ^TWMUserWebURL;
  2038.   _WMUserWebURL = packed record
  2039.     pwszDescription : PWideChar;
  2040.     pwszURL         : PWideChar;
  2041.   end;
  2042.   {$EXTERNALSYM _WMUserWebURL}
  2043.   WM_USER_WEB_URL = _WMUserWebURL;
  2044.   {$EXTERNALSYM WM_USER_WEB_URL}
  2045.   TWMUserWebURL = _WMUserWebURL;
  2046.  
  2047.   PWMUserText = ^TWMUserText;
  2048.   _WMUserText = packed record
  2049.     pwszDescription : PWideChar;
  2050.     pwszText        : PWideChar;
  2051.   end;
  2052.   {$EXTERNALSYM _WMUserText}
  2053.   WM_USER_TEXT = _WMUserText;
  2054.   {$EXTERNALSYM WM_USER_TEXT}
  2055.   TWMUserText = _WMUserText;
  2056.  
  2057.   PWMLeakyBucketPair = ^TWMLeakyBucketPair;
  2058.   _WMLeakyBucketPair = packed record
  2059.     dwBitrate      : LongWord;
  2060.     msBufferWindow : LongWord;
  2061.   end;
  2062.   {$EXTERNALSYM _WMLeakyBucketPair}
  2063.   WM_LEAKY_BUCKET_PAIR = _WMLeakyBucketPair;
  2064.   {$EXTERNALSYM WM_LEAKY_BUCKET_PAIR}
  2065.   TWMLeakyBucketPair = _WMLeakyBucketPair;
  2066.  
  2067. ///////////////////////////////////////////////////////////////////////////////
  2068. //
  2069. // Structure needed for using GetDRMProperty.
  2070. //
  2071. ///////////////////////////////////////////////////////////////////////////////
  2072.  
  2073.   PWMLicenseStateData = ^TWMLicenseStateData;
  2074.   _WM_LICENSE_STATE_DATA = packed record
  2075.      dwSize      : LongWord; // Size of the entire structure.
  2076.      dwNumStates : LongWord; // Number of state data passed back in array of structure below
  2077.      stateData   : array[0..0] of TDRMLicenseStateData;
  2078.   end;
  2079.   {$EXTERNALSYM _WM_LICENSE_STATE_DATA}
  2080.   WM_LICENSE_STATE_DATA = _WM_LICENSE_STATE_DATA;
  2081.   {$EXTERNALSYM WM_LICENSE_STATE_DATA}
  2082.   TWMLicenseStateData = _WM_LICENSE_STATE_DATA;
  2083.  
  2084. ///////////////////////////////////////////////////////////////////////////////
  2085. // Watermark entry
  2086. ///////////////////////////////////////////////////////////////////////////////
  2087.  
  2088.   PWMTWatermarkEntry = ^TWMTWatermarkEntry;
  2089.   __WMT_WATERMARK_ENTRY = packed record
  2090.      wmetType        : TWMTWatermarkEntryType;
  2091.      clsid           : TGUID;
  2092.      cbDisplayName   : UINT;
  2093.      pwszDisplayName : PWideChar;
  2094.   end;
  2095.   {$EXTERNALSYM __WMT_WATERMARK_ENTRY}
  2096.   WMT_WATERMARK_ENTRY = __WMT_WATERMARK_ENTRY;
  2097.   {$EXTERNALSYM WMT_WATERMARK_ENTRY}
  2098.   TWMTWatermarkEntry = __WMT_WATERMARK_ENTRY;
  2099.  
  2100. ///////////////////////////////////////////////////////////////////////////////
  2101. // VideoImage structs
  2102. ///////////////////////////////////////////////////////////////////////////////
  2103.  
  2104. //
  2105. // dwControlFlags
  2106. //
  2107. const
  2108.   WMT_VIDEOIMAGE_SAMPLE_INPUT_FRAME               = 1; // sample has input frame
  2109.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE_INPUT_FRAME}
  2110.   WMT_VIDEOIMAGE_SAMPLE_OUTPUT_FRAME              = 2; // sample produces output frame
  2111.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE_OUTPUT_FRAME}
  2112.   WMT_VIDEOIMAGE_SAMPLE_USES_CURRENT_INPUT_FRAME  = 4;
  2113.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE_USES_CURRENT_INPUT_FRAME}
  2114.   WMT_VIDEOIMAGE_SAMPLE_USES_PREVIOUS_INPUT_FRAME = 8;
  2115.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE_USES_PREVIOUS_INPUT_FRAME}
  2116.  
  2117. //
  2118. // dwInputFlags
  2119. //
  2120.   WMT_VIDEOIMAGE_SAMPLE_MOTION       = 1; // acef used (includes resizing)
  2121.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE_MOTION}
  2122.   WMT_VIDEOIMAGE_SAMPLE_ROTATION     = 2; // bd also used (not valid without acef)
  2123.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE_ROTATION}
  2124.   WMT_VIDEOIMAGE_SAMPLE_BLENDING     = 4; // BlendCoef1 used
  2125.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE_BLENDING}
  2126.   WMT_VIDEOIMAGE_SAMPLE_ADV_BLENDING = 8; // BlendCoef2 also used (not valid without BlendCoef1)
  2127.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE_ADV_BLENDING}
  2128.  
  2129.   WMT_VIDEOIMAGE_INTEGER_DENOMINATOR = 65536;
  2130.   {$EXTERNALSYM WMT_VIDEOIMAGE_INTEGER_DENOMINATOR}
  2131.  
  2132.   WMT_VIDEOIMAGE_MAGIC_NUMBER = $1d4a45f2;
  2133.   {$EXTERNALSYM WMT_VIDEOIMAGE_MAGIC_NUMBER}
  2134.  
  2135. type
  2136.   PWMTVideoImageSample = ^TWMTVideoImageSample;
  2137.   __WMT_VIDEOIMAGE_SAMPLE = packed record
  2138.     dwMagic        : LongWord;
  2139.     cbStruct       : ULONG; // size of structure; incudes dwMagic and cbStruct
  2140.     dwControlFlags : LongWord;
  2141.  
  2142.     //
  2143.     // most recent input frame
  2144.     //
  2145.     dwInputFlagsCur   : LongWord;
  2146.     lCurMotionXtoX    : LongInt; // a
  2147.     lCurMotionYtoX    : LongInt; // b
  2148.     lCurMotionXoffset : LongInt; // c
  2149.     lCurMotionXtoY    : LongInt; // d
  2150.     lCurMotionYtoY    : LongInt; // e
  2151.     lCurMotionYoffset : LongInt; // f
  2152.     lCurBlendCoef1    : LongInt;
  2153.     lCurBlendCoef2    : LongInt;
  2154.  
  2155.     //
  2156.     // second most recent input frame
  2157.     //
  2158.     dwInputFlagsPrev   : LongWord;
  2159.     lPrevMotionXtoX    : LongInt; // a
  2160.     lPrevMotionYtoX    : LongInt; // b
  2161.     lPrevMotionXoffset : LongInt; // c
  2162.     lPrevMotionXtoY    : LongInt; // d
  2163.     lPrevMotionYtoY    : LongInt; // e
  2164.     lPrevMotionYoffset : LongInt; // f
  2165.     lPrevBlendCoef1    : LongInt;
  2166.     lPrevBlendCoef2    : LongInt;
  2167.   end;
  2168.   {$EXTERNALSYM __WMT_VIDEOIMAGE_SAMPLE}
  2169.   WMT_VIDEOIMAGE_SAMPLE = __WMT_VIDEOIMAGE_SAMPLE;
  2170.   {$EXTERNALSYM WMT_VIDEOIMAGE_SAMPLE}
  2171.   TWMTVideoImageSample = __WMT_VIDEOIMAGE_SAMPLE;
  2172.  
  2173. ///////////////////////////////////////////////////////////////////////////////
  2174. //
  2175. // Media-type structures and GUIDs.
  2176. //
  2177. ///////////////////////////////////////////////////////////////////////////////
  2178.  
  2179. //
  2180. // We use DirectShow media types in this SDK. However, to avoid conflict with
  2181. // their names, we define our own version of the structure. This is exactly
  2182. // the same as an AM_MEDIA_TYPE!
  2183. //
  2184.   PWMMediaType = ^TWMMediaType;
  2185.   _WMMediaType = packed record
  2186.     majortype            : TGUID;
  2187.     subtype              : TGUID;
  2188.     bFixedSizeSamples    : BOOL;
  2189.     bTemporalCompression : BOOL;
  2190.     lSampleSize          : ULONG;
  2191.     formattype           : TGUID;
  2192.     pUnk                 : IUnknown;
  2193.     cbFormat             : ULONG;
  2194.     pbFormat             : PBYTE; // size_is(cbFormat)
  2195.   end;
  2196.   {$EXTERNALSYM _WMMediaType}
  2197.   WM_MEDIA_TYPE = _WMMediaType;
  2198.   {$EXTERNALSYM WM_MEDIA_TYPE}
  2199.   TWMMediaType = _WMMediaType;
  2200.  
  2201.   PWMVideoInfoHeader = ^TWMVideoInfoHeader;
  2202.   tagWMVIDEOINFOHEADER = packed record
  2203.     rcSource        : TRECT;    // The bit we really want to use.
  2204.     rcTarget        : TRECT;    // Where the video should go.
  2205.     dwBitRate       : LongWord; // Approximate bit data rate.
  2206.     dwBitErrorRate  : LongWord; // Bit error rate for this stream.
  2207.     AvgTimePerFrame : Int64;    // Average time per frame (100ns units).
  2208.     bmiHeader       : TBitmapInfoHeader;
  2209.   end;
  2210.   {$EXTERNALSYM tagWMVIDEOINFOHEADER}
  2211.   WMVIDEOINFOHEADER = tagWMVIDEOINFOHEADER;
  2212.   {$EXTERNALSYM WMVIDEOINFOHEADER}
  2213.   TWMVideoInfoHeader = tagWMVIDEOINFOHEADER;
  2214.  
  2215.   PWMVideoInfoHeader2 = ^TWMVideoInfoHeader2;
  2216.   tagWMVIDEOINFOHEADER2 = packed record
  2217.     rcSource           : TRECT;     // The bit we really want to use.
  2218.     rcTarget           : TRECT;     // Where the video should go.
  2219.     dwBitRate          : LongWord;  // Approximate bit data rate.
  2220.     dwBitErrorRate     : LongWord;  // Bit error rate for this stream.
  2221.     AvgTimePerFrame    : Int64;     // Average time per frame (100ns units).
  2222.     dwInterlaceFlags   : LongWord;  // Use AMINTERLACE_* defines. Reject connection if undefined bits are not 0.
  2223.     dwCopyProtectFlags : LongWord;  // use AMCOPYPROTECT_* defines. Reject connection if undefined bits are not 0.
  2224.     dwPictAspectRatioX : LongWord;  // X dimension of picture aspect ratio, e.g. 16 for 16x9 display.
  2225.     dwPictAspectRatioY : LongWord;  // Y dimension of picture aspect ratio, e.g.  9 for 16x9 display.
  2226.     dwReserved1        : LongWord;  // Must be 0; reject connection otherwise.
  2227.     dwReserved2        : LongWord;  // Must be 0; reject connection otherwise.
  2228.     bmiHeader          : TBitmapInfoHeader;
  2229.   end;
  2230.   {$EXTERNALSYM tagWMVIDEOINFOHEADER2}
  2231.   WMVIDEOINFOHEADER2 = tagWMVIDEOINFOHEADER2;
  2232.   {$EXTERNALSYM WMVIDEOINFOHEADER2}
  2233.   TWMVideoInfoHeader2 = tagWMVIDEOINFOHEADER2;
  2234.  
  2235.   PWMMPEG2VideoInfo = ^TWMMPEG2VideoInfo;
  2236.   tagWMMPEG2VIDEOINFO = packed record
  2237.     hdr              : TWMVideoInfoHeader2;     // Video info header2.
  2238.     dwStartTimeCode  : LongWord;                // Not used for DVD.
  2239.     cbSequenceHeader : LongWord;                // Is 0 for DVD (no sequence header).
  2240.     dwProfile        : LongWord;                // Use enum MPEG2Profile.
  2241.     dwLevel          : LongWord;                // Use enum MPEG2Level.
  2242.     dwFlags          : LongWord;                // Use AMMPEG2_* defines.  Reject connection if undefined bits are not 0.
  2243.     dwSequenceHeader : array[0..0] of LongWord; // Sequence header.
  2244.   end;
  2245.   {$EXTERNALSYM tagWMMPEG2VIDEOINFO}
  2246.   WMMPEG2VIDEOINFO = tagWMMPEG2VIDEOINFO;
  2247.   {$EXTERNALSYM WMMPEG2VIDEOINFO}
  2248.   TWMMPEG2VideoInfo = tagWMMPEG2VIDEOINFO;
  2249.  
  2250.   PWMScriptFormat = ^TWMScriptFormat;
  2251.   tagWMSCRIPTFORMAT = packed record
  2252.     scriptType: TGUID;
  2253.   end;
  2254.   {$EXTERNALSYM tagWMSCRIPTFORMAT}
  2255.   WMSCRIPTFORMAT = tagWMSCRIPTFORMAT;
  2256.   {$EXTERNALSYM WMSCRIPTFORMAT}
  2257.   TWMScriptFormat = tagWMSCRIPTFORMAT;
  2258.  
  2259. //
  2260. // This special GUID is used to create a subtype from an audio format tag, or
  2261. // video four-character code. Just fill in the first LongWord of the GUID with
  2262. // the appropriate value.
  2263. //
  2264. const
  2265.   WMMEDIASUBTYPE_Base             : TGUID = '{00000000-0000-0010-8000-00AA00389B71}';
  2266.   {$EXTERNALSYM WMMEDIASUBTYPE_Base}
  2267.   WMMEDIATYPE_Video               : TGUID = '{73646976-0000-0010-8000-00AA00389B71}'; // 'vids'
  2268.   {$EXTERNALSYM WMMEDIATYPE_Video}
  2269.   WMMEDIASUBTYPE_RGB1             : TGUID = '{e436eb78-524f-11ce-9f53-0020af0ba770}';
  2270.   {$EXTERNALSYM WMMEDIASUBTYPE_RGB1}
  2271.   WMMEDIASUBTYPE_RGB4             : TGUID = '{e436eb79-524f-11ce-9f53-0020af0ba770}';
  2272.   {$EXTERNALSYM WMMEDIASUBTYPE_RGB4}
  2273.   WMMEDIASUBTYPE_RGB8             : TGUID = '{e436eb7a-524f-11ce-9f53-0020af0ba770}';
  2274.   {$EXTERNALSYM WMMEDIASUBTYPE_RGB8}
  2275.   WMMEDIASUBTYPE_RGB565           : TGUID = '{e436eb7b-524f-11ce-9f53-0020af0ba770}';
  2276.   {$EXTERNALSYM WMMEDIASUBTYPE_RGB565}
  2277.   WMMEDIASUBTYPE_RGB555           : TGUID = '{e436eb7c-524f-11ce-9f53-0020af0ba770}';
  2278.   {$EXTERNALSYM WMMEDIASUBTYPE_RGB555}
  2279.   WMMEDIASUBTYPE_RGB24            : TGUID = '{e436eb7d-524f-11ce-9f53-0020af0ba770}';
  2280.   {$EXTERNALSYM WMMEDIASUBTYPE_RGB24}
  2281.   WMMEDIASUBTYPE_RGB32            : TGUID = '{e436eb7e-524f-11ce-9f53-0020af0ba770}';
  2282.   {$EXTERNALSYM WMMEDIASUBTYPE_RGB32}
  2283.   WMMEDIASUBTYPE_I420             : TGUID = '{30323449-0000-0010-8000-00AA00389B71}'; // 'YV12'
  2284.   {$EXTERNALSYM WMMEDIASUBTYPE_I420}
  2285.   WMMEDIASUBTYPE_IYUV             : TGUID = '{56555949-0000-0010-8000-00AA00389B71}'; // 'YV12'
  2286.   {$EXTERNALSYM WMMEDIASUBTYPE_IYUV}
  2287.   WMMEDIASUBTYPE_YV12             : TGUID = '{31313259-0000-0010-8000-00AA00389B71}'; // 'YV12'
  2288.   {$EXTERNALSYM WMMEDIASUBTYPE_YV12}
  2289.   WMMEDIASUBTYPE_YUY2             : TGUID = '{32595559-0000-0010-8000-00AA00389B71}'; // 'YUY2'
  2290.   {$EXTERNALSYM WMMEDIASUBTYPE_YUY2}
  2291.   WMMEDIASUBTYPE_UYVY             : TGUID = '{59565955-0000-0010-8000-00AA00389B71}'; // 'UYVY'
  2292.   {$EXTERNALSYM WMMEDIASUBTYPE_UYVY}
  2293.   WMMEDIASUBTYPE_YVYU             : TGUID = '{55595659-0000-0010-8000-00AA00389B71}'; // 'YVYU'
  2294.   {$EXTERNALSYM WMMEDIASUBTYPE_YVYU}
  2295.   WMMEDIASUBTYPE_YVU9             : TGUID = '{39555659-0000-0010-8000-00AA00389B71}'; // 'YVU9'
  2296.   {$EXTERNALSYM WMMEDIASUBTYPE_YVU9}
  2297.   WMMEDIASUBTYPE_VIDEOIMAGE       : TGUID = '{1d4a45f2-e5f6-4b44-8388-f0ae5c0e0c37}';
  2298.   {$EXTERNALSYM WMMEDIASUBTYPE_VIDEOIMAGE}
  2299.   WMMEDIASUBTYPE_MP43             : TGUID = '{3334504D-0000-0010-8000-00AA00389B71}';
  2300.   {$EXTERNALSYM WMMEDIASUBTYPE_MP43}
  2301.   WMMEDIASUBTYPE_MP4S             : TGUID = '{5334504D-0000-0010-8000-00AA00389B71}';
  2302.   {$EXTERNALSYM WMMEDIASUBTYPE_MP4S}
  2303.   WMMEDIASUBTYPE_WMV1             : TGUID = '{31564D57-0000-0010-8000-00AA00389B71}';
  2304.   {$EXTERNALSYM WMMEDIASUBTYPE_WMV1}
  2305.   WMMEDIASUBTYPE_WMV2             : TGUID = '{32564D57-0000-0010-8000-00AA00389B71}';
  2306.   {$EXTERNALSYM WMMEDIASUBTYPE_WMV2}
  2307.   WMMEDIASUBTYPE_MSS1             : TGUID = '{3153534D-0000-0010-8000-00AA00389B71}';
  2308.   {$EXTERNALSYM WMMEDIASUBTYPE_MSS1}
  2309.   WMMEDIASUBTYPE_MPEG2_VIDEO      : TGUID = '{e06d8026-db46-11cf-b4d1-00805f6cbbea}';
  2310.   {$EXTERNALSYM WMMEDIASUBTYPE_MPEG2_VIDEO}
  2311.   WMMEDIATYPE_Audio               : TGUID = '{73647561-0000-0010-8000-00AA00389B71}'; // 'auds'
  2312.   {$EXTERNALSYM WMMEDIATYPE_Audio}
  2313.   WMMEDIASUBTYPE_PCM              : TGUID = '{00000001-0000-0010-8000-00AA00389B71}';
  2314.   {$EXTERNALSYM WMMEDIASUBTYPE_PCM}
  2315.   WMMEDIASUBTYPE_DRM              : TGUID = '{00000009-0000-0010-8000-00AA00389B71}';
  2316.   {$EXTERNALSYM WMMEDIASUBTYPE_DRM}
  2317.   WMMEDIASUBTYPE_WMAudioV9        : TGUID = '{00000162-0000-0010-8000-00AA00389B71}';
  2318.   {$EXTERNALSYM WMMEDIASUBTYPE_WMAudioV9}
  2319.   WMMEDIASUBTYPE_WMAudio_Lossless : TGUID = '{00000163-0000-0010-8000-00AA00389B71}';
  2320.   {$EXTERNALSYM WMMEDIASUBTYPE_WMAudio_Lossless}
  2321.   WMMEDIASUBTYPE_MSS2             : TGUID = '{3253534D-0000-0010-8000-00AA00389B71}';
  2322.   {$EXTERNALSYM WMMEDIASUBTYPE_MSS2}
  2323.   WMMEDIASUBTYPE_WMSP1            : TGUID = '{0000000A-0000-0010-8000-00AA00389B71}';
  2324.   {$EXTERNALSYM WMMEDIASUBTYPE_WMSP1}
  2325.   WMMEDIASUBTYPE_WMV3             : TGUID = '{33564D57-0000-0010-8000-00AA00389B71}';
  2326.   {$EXTERNALSYM WMMEDIASUBTYPE_WMV3}
  2327.   WMMEDIASUBTYPE_WMVP             : TGUID = '{50564D57-0000-0010-8000-00AA00389B71}';
  2328.  
  2329.   {$EXTERNALSYM WMMEDIASUBTYPE_WMVP}
  2330.  
  2331. //
  2332. // WM Audio v2 and v7 are actually compatible bitstreams.
  2333. //
  2334.   WMMEDIASUBTYPE_WMAudioV8 : TGUID = '{00000161-0000-0010-8000-00AA00389B71}';
  2335.   {$EXTERNALSYM WMMEDIASUBTYPE_WMAudioV8}
  2336.   WMMEDIASUBTYPE_WMAudioV7 : TGUID = '{00000161-0000-0010-8000-00AA00389B71}';
  2337.   {$EXTERNALSYM WMMEDIASUBTYPE_WMAudioV7}
  2338.   WMMEDIASUBTYPE_WMAudioV2 : TGUID = '{00000161-0000-0010-8000-00AA00389B71}';
  2339.   {$EXTERNALSYM WMMEDIASUBTYPE_WMAudioV2}
  2340.   WMMEDIASUBTYPE_ACELPnet  : TGUID = '{00000130-0000-0010-8000-00AA00389B71}';
  2341.   {$EXTERNALSYM WMMEDIASUBTYPE_ACELPnet}
  2342.   WMMEDIASUBTYPE_MP3       : TGUID = '{00000050-0000-0010-8000-00AA00389B71}';
  2343.   {$EXTERNALSYM WMMEDIASUBTYPE_MP3}
  2344.   WMMEDIASUBTYPE_WebStream : TGUID = '{776257d4-c627-41cb-8f81-7ac7ff1c40cc}';
  2345.   {$EXTERNALSYM WMMEDIASUBTYPE_WebStream}
  2346.   WMMEDIATYPE_Script       : TGUID = '{73636d64-0000-0010-8000-00AA00389B71}'; // 'scmd'
  2347.   {$EXTERNALSYM WMMEDIATYPE_Script}
  2348.   WMMEDIATYPE_Image        : TGUID = '{34A50FD8-8AA5-4386-81FE-A0EFE0488E31}'; // 'imag'
  2349.   {$EXTERNALSYM WMMEDIATYPE_Image}
  2350.   WMMEDIATYPE_FileTransfer : TGUID = '{D9E47579-930E-4427-ADFC-AD80F290E470}'; // 'fxfr'
  2351.   {$EXTERNALSYM WMMEDIATYPE_FileTransfer}
  2352.   WMMEDIATYPE_Text         : TGUID = '{9BBA1EA7-5AB2-4829-BA57-0940209BCF3E}'; // 'text'
  2353.   {$EXTERNALSYM WMMEDIATYPE_Text}
  2354.   WMFORMAT_VideoInfo       : TGUID = '{05589f80-c356-11ce-bf01-00aa0055595a}';
  2355.   {$EXTERNALSYM WMFORMAT_VideoInfo}
  2356.   WMFORMAT_MPEG2Video      : TGUID = '{e06d80e3-db46-11cf-b4d1-00805f6cbbea}';
  2357.   {$EXTERNALSYM WMFORMAT_MPEG2Video}
  2358.   WMFORMAT_WaveFormatEx    : TGUID = '{05589f81-c356-11ce-bf01-00aa0055595a}';
  2359.   {$EXTERNALSYM WMFORMAT_WaveFormatEx}
  2360.   WMFORMAT_Script          : TGUID = '{5C8510F2-DEBE-4ca7-BBA5-F07A104F8DFF}';
  2361.   {$EXTERNALSYM WMFORMAT_Script}
  2362.   WMFORMAT_WebStream       : TGUID = '{da1e6b13-8359-4050-b398-388e965bf00c}';
  2363.   {$EXTERNALSYM WMFORMAT_WebStream}
  2364.   WMSCRIPTTYPE_TwoStrings  : TGUID = '{82f38a70-c29f-11d1-97ad-00a0c95ea850}';
  2365.   {$EXTERNALSYM WMSCRIPTTYPE_TwoStrings}
  2366.  
  2367. //////////////////////////////////////////////////////////////////////////////
  2368. //
  2369. // GUIDs for common buffer properties
  2370. //
  2371.   WM_SampleExtensionGUID_OutputCleanPoint : TGUID = '{f72a3c6f-6eb4-4ebc-b192-09ad9759e828}';
  2372.   {$EXTERNALSYM WM_SampleExtensionGUID_OutputCleanPoint}
  2373.   WM_SampleExtensionGUID_Timecode         : TGUID = '{399595ec-8667-4e2d-8fdb-98814ce76c1e}';
  2374.   {$EXTERNALSYM WM_SampleExtensionGUID_Timecode}
  2375.  
  2376.  
  2377. //
  2378. // This buffer property is used in conjunction with file transfer streams.
  2379. // It is the name of the file being transfered (in WCHARs).
  2380. //
  2381.   WM_SampleExtensionGUID_FileName          : TGUID = '{e165ec0e-19ed-45d7-b4a7-25cbd1e28e9b}';
  2382.   {$EXTERNALSYM WM_SampleExtensionGUID_FileName}
  2383.  
  2384.   WM_SampleExtensionGUID_ContentType       : TGUID = '{d590dc20-07bc-436c-9cf7-f3bbfbf1a4dc}';
  2385.   {$EXTERNALSYM WM_SampleExtensionGUID_ContentType}
  2386.   WM_SampleExtensionGUID_PixelAspectRatio  : TGUID = '{1b1ee554-f9ea-4bc8-821a-376b74e4c4b8}';
  2387.   {$EXTERNALSYM WM_SampleExtensionGUID_PixelAspectRatio}
  2388.   WM_SampleExtensionGUID_SampleDuration    : TGUID = '{c6bd9450-867f-4907-83a3-c77921b733ad}';
  2389.   {$EXTERNALSYM WM_SampleExtensionGUID_SampleDuration}
  2390.  
  2391. //
  2392. // Constants for use with the corresponding sample extension properties
  2393. //
  2394.   WM_SampleExtension_ContentType_Size      = 1;
  2395.   {$EXTERNALSYM WM_SampleExtension_ContentType_Size}
  2396.   WM_SampleExtension_PixelAspectRatio_Size = 2;
  2397.   {$EXTERNALSYM WM_SampleExtension_PixelAspectRatio_Size}
  2398.   WM_SampleExtension_Timecode_Size         = 14;
  2399.   {$EXTERNALSYM WM_SampleExtension_Timecode_Size}
  2400.   WM_SampleExtension_SampleDuration_Size   = 2;
  2401.   {$EXTERNALSYM WM_SampleExtension_SampleDuration_Size}
  2402.  
  2403. ///////////////////////////////////////////////////////////////////////////////
  2404. //
  2405. // Content Types to be used with WM_SampleExtensionGUID_ContentType
  2406. // on INSSBuffer3::SetProperty/GetProperty
  2407. //
  2408. ///////////////////////////////////////////////////////////////////////////////
  2409.  
  2410.   WM_CT_INTERLACED         = 128;
  2411.   {$EXTERNALSYM WM_CT_INTERLACED}
  2412.   WM_CT_BOTTOM_FIELD_FIRST = 32;
  2413.   {$EXTERNALSYM WM_CT_BOTTOM_FIELD_FIRST}
  2414.   WM_CT_TOP_FIELD_FIRST    = 64;
  2415.   {$EXTERNALSYM WM_CT_TOP_FIELD_FIRST}
  2416.  
  2417. ///////////////////////////////////////////////////////////////////////////////
  2418. //
  2419. // Timecode structures to be used with WM_SampleExtensionGUID_Timecode
  2420. // on INSSBuffer3::SetProperty/GetProperty.  The timecode LongWord
  2421. // contains the following timecode representation:
  2422. //
  2423. // BYTE  MSB             LSB
  2424. // ----------------------------------------------
  2425. // 1     Tens of hour    Hour
  2426. // 2     Tens of minute  Minute
  2427. // 3     Tens of second  Second
  2428. // 4     Tens of frame   Frame
  2429. //
  2430. ///////////////////////////////////////////////////////////////////////////////
  2431.  
  2432. type
  2433.   PWMTTimeCodeExtensionData = ^TWMTTimeCodeExtensionData;
  2434.   _WMT_TIMECODE_EXTENSION_DATA = packed record
  2435.     wRange     : Word;
  2436.     dwTimecode : LongWord;
  2437.     dwUserbits : LongWord;
  2438.     dwAmFlags  : LongWord;
  2439.   end;
  2440.   {$EXTERNALSYM _WMT_TIMECODE_EXTENSION_DATA}
  2441.   WMT_TIMECODE_EXTENSION_DATA = _WMT_TIMECODE_EXTENSION_DATA;
  2442.   {$EXTERNALSYM WMT_TIMECODE_EXTENSION_DATA}
  2443.   TWMTTimeCodeExtensionData = _WMT_TIMECODE_EXTENSION_DATA;
  2444.  
  2445. ///////////////////////////////////////////////////////////////////////////////
  2446. //
  2447. // IID GUIDs defined here.
  2448. //
  2449. ///////////////////////////////////////////////////////////////////////////////
  2450. const
  2451.   IID_IWMMediaProps             : TGUID = '{96406bce-2b2b-11d3-b36b-00c04f6108ff}';
  2452.   {$EXTERNALSYM IID_IWMMediaProps}
  2453.   IID_IWMVideoMediaProps        : TGUID = '{96406bcf-2b2b-11d3-b36b-00c04f6108ff}';
  2454.   {$EXTERNALSYM IID_IWMVideoMediaProps}
  2455.   IID_IWMWriter                 : TGUID = '{96406bd4-2b2b-11d3-b36b-00c04f6108ff}';
  2456.   {$EXTERNALSYM IID_IWMWriter}
  2457.   IID_IWMInputMediaProps        : TGUID = '{96406bd5-2b2b-11d3-b36b-00c04f6108ff}';
  2458.   {$EXTERNALSYM IID_IWMInputMediaProps}
  2459.   IID_IWMReader                 : TGUID = '{96406bd6-2b2b-11d3-b36b-00c04f6108ff}';
  2460.   {$EXTERNALSYM IID_IWMReader}
  2461.   IID_IWMSyncReader             : TGUID = '{9397f121-7705-4dc9-b049-98b698188414}';
  2462.   {$EXTERNALSYM IID_IWMSyncReader}
  2463.   IID_IWMSyncReader2            : TGUID = '{faed3d21-1b6b-4af7-8cb6-3e189bbc187b}';
  2464.   {$EXTERNALSYM IID_IWMSyncReader2}
  2465.   IID_IWMOutputMediaProps       : TGUID = '{96406bd7-2b2b-11d3-b36b-00c04f6108ff}';
  2466.   {$EXTERNALSYM IID_IWMOutputMediaProps}
  2467.   IID_IWMStatusCallback         : TGUID = '{6d7cdc70-9888-11d3-8edc-00c04f6109cf}';
  2468.   {$EXTERNALSYM IID_IWMStatusCallback}
  2469.   IID_IWMReaderCallback         : TGUID = '{96406bd8-2b2b-11d3-b36b-00c04f6108ff}';
  2470.   {$EXTERNALSYM IID_IWMReaderCallback}
  2471.   IID_IWMCredentialCallback     : TGUID = '{342e0eb7-e651-450c-975b-2ace2c90c48e}';
  2472.   {$EXTERNALSYM IID_IWMCredentialCallback}
  2473.   IID_IWMMetadataEditor         : TGUID = '{96406bd9-2b2b-11d3-b36b-00c04f6108ff}';
  2474.   {$EXTERNALSYM IID_IWMMetadataEditor}
  2475.   IID_IWMMetadataEditor2        : TGUID = '{203cffe3-2e18-4fdf-b59d-6e71530534cf}';
  2476.   {$EXTERNALSYM IID_IWMMetadataEditor2}
  2477.   IID_IWMDRMEditor              : TGUID = '{FF130EBC-A6C3-42A6-B401-C3382C3E08B3}';
  2478.   {$EXTERNALSYM IID_IWMDRMEditor}
  2479.   IID_IWMHeaderInfo             : TGUID = '{96406bda-2b2b-11d3-b36b-00c04f6108ff}';
  2480.   {$EXTERNALSYM IID_IWMHeaderInfo}
  2481.   IID_IWMHeaderInfo2            : TGUID = '{15cf9781-454e-482e-b393-85fae487a810}';
  2482.   {$EXTERNALSYM IID_IWMHeaderInfo2}
  2483.   IID_IWMHeaderInfo3            : TGUID = '{15CC68E3-27CC-4ecd-B222-3F5D02D80BD5}';
  2484.   {$EXTERNALSYM IID_IWMHeaderInfo3}
  2485.   IID_IWMProfileManager         : TGUID = '{d16679f2-6ca0-472d-8d31-2f5d55aee155}';
  2486.   {$EXTERNALSYM IID_IWMProfileManager}
  2487.   IID_IWMProfileManager2        : TGUID = '{7a924e51-73c1-494d-8019-23d37ed9b89a}';
  2488.   {$EXTERNALSYM IID_IWMProfileManager2}
  2489.   IID_IWMProfileManagerLanguage : TGUID = '{ba4dcc78-7ee0-4ab8-b27a-dbce8bc51454}';
  2490.   {$EXTERNALSYM IID_IWMProfileManagerLanguage}
  2491.   IID_IWMProfile                : TGUID = '{96406bdb-2b2b-11d3-b36b-00c04f6108ff}';
  2492.   {$EXTERNALSYM IID_IWMProfile}
  2493.   IID_IWMProfile2               : TGUID = '{07e72d33-d94e-4be7-8843-60ae5ff7e5f5}';
  2494.   {$EXTERNALSYM IID_IWMProfile2}
  2495.   IID_IWMProfile3               : TGUID = '{00ef96cc-a461-4546-8bcd-c9a28f0e06f5}';
  2496.   {$EXTERNALSYM IID_IWMProfile3}
  2497.   IID_IWMStreamConfig           : TGUID = '{96406bdc-2b2b-11d3-b36b-00c04f6108ff}';
  2498.   {$EXTERNALSYM IID_IWMStreamConfig}
  2499.   IID_IWMStreamConfig2          : TGUID = '{7688d8cb-fc0d-43bd-9459-5a8dec200cfa}';
  2500.   {$EXTERNALSYM IID_IWMStreamConfig2}
  2501.   IID_IWMStreamConfig3          : TGUID = '{cb164104-3aa9-45a7-9ac9-4daee131d6e1}';
  2502.   {$EXTERNALSYM IID_IWMStreamConfig3}
  2503.   IID_IWMStreamList             : TGUID = '{96406bdd-2b2b-11d3-b36b-00c04f6108ff}';
  2504.   {$EXTERNALSYM IID_IWMStreamList}
  2505.   IID_IWMMutualExclusion        : TGUID = '{96406bde-2b2b-11d3-b36b-00c04f6108ff}';
  2506.   {$EXTERNALSYM IID_IWMMutualExclusion}
  2507.   IID_IWMMutualExclusion2       : TGUID = '{0302b57d-89d1-4ba2-85c9-166f2c53eb91}';
  2508.   {$EXTERNALSYM IID_IWMMutualExclusion2}
  2509.   IID_IWMBandwidthSharing       : TGUID = '{ad694af1-f8d9-42f8-bc47-70311b0c4f9e}';
  2510.   {$EXTERNALSYM IID_IWMBandwidthSharing}
  2511.   IID_IWMStreamPrioritization   : TGUID = '{8c1c6090-f9a8-4748-8ec3-dd1108ba1e77}';
  2512.   {$EXTERNALSYM IID_IWMStreamPrioritization}
  2513.   IID_IWMWriterAdvanced         : TGUID = '{96406be3-2b2b-11d3-b36b-00c04f6108ff}';
  2514.   {$EXTERNALSYM IID_IWMWriterAdvanced}
  2515.   IID_IWMWriterAdvanced2        : TGUID = '{962dc1ec-c046-4db8-9cc7-26ceae500817}';
  2516.   {$EXTERNALSYM IID_IWMWriterAdvanced2}
  2517.   IID_IWMWriterAdvanced3        : TGUID = '{2cd6492d-7c37-4e76-9d3b-59261183a22e}';
  2518.   {$EXTERNALSYM IID_IWMWriterAdvanced3}
  2519.   IID_IWMWriterPreprocess       : TGUID = '{fc54a285-38c4-45b5-aa23-85b9f7cb424b}';
  2520.   {$EXTERNALSYM IID_IWMWriterPreprocess}
  2521.   IID_IWMWriterSink             : TGUID = '{96406be4-2b2b-11d3-b36b-00c04f6108ff}';
  2522.   {$EXTERNALSYM IID_IWMWriterSink}
  2523.   IID_IWMWriterFileSink         : TGUID = '{96406be5-2b2b-11d3-b36b-00c04f6108ff}';
  2524.   {$EXTERNALSYM IID_IWMWriterFileSink}
  2525.   IID_IWMWriterFileSink2        : TGUID = '{14282ba7-4aef-4205-8ce5-c229035a05bc}';
  2526.   {$EXTERNALSYM IID_IWMWriterFileSink2}
  2527.   IID_IWMWriterFileSink3        : TGUID = '{3fea4feb-2945-47a7-a1dd-c53a8fc4c45c}';
  2528.   {$EXTERNALSYM IID_IWMWriterFileSink3}
  2529.   IID_IWMWriterNetworkSink      : TGUID = '{96406be7-2b2b-11d3-b36b-00c04f6108ff}';
  2530.   {$EXTERNALSYM IID_IWMWriterNetworkSink}
  2531.   IID_IWMClientConnections      : TGUID = '{73c66010-a299-41df-b1f0-ccf03b09c1c6}';
  2532.   {$EXTERNALSYM IID_IWMClientConnections}
  2533.   IID_IWMClientConnections2     : TGUID = '{4091571e-4701-4593-bb3d-d5f5f0c74246}';
  2534.   {$EXTERNALSYM IID_IWMClientConnections2}
  2535.   IID_IWMReaderAdvanced         : TGUID = '{96406bea-2b2b-11d3-b36b-00c04f6108ff}';
  2536.   {$EXTERNALSYM IID_IWMReaderAdvanced}
  2537.   IID_IWMReaderAdvanced2        : TGUID = '{ae14a945-b90c-4d0d-9127-80d665f7d73e}';
  2538.   {$EXTERNALSYM IID_IWMReaderAdvanced2}
  2539.   IID_IWMReaderAdvanced3        : TGUID = '{5dc0674b-f04b-4a4e-9f2a-b1afde2c8100}';
  2540.   {$EXTERNALSYM IID_IWMReaderAdvanced3}
  2541.   IID_IWMReaderAdvanced4        : TGUID = '{945a76a2-12ae-4d48-bd3c-cd1d90399b85}';
  2542.   {$EXTERNALSYM IID_IWMReaderAdvanced4}
  2543.   IID_IWMDRMReader              : TGUID = '{d2827540-3ee7-432c-b14c-dc17f085d3b3}';
  2544.   {$EXTERNALSYM IID_IWMDRMReader}
  2545.   IID_IWMReaderCallbackAdvanced : TGUID = '{96406beb-2b2b-11d3-b36b-00c04f6108ff}';
  2546.   {$EXTERNALSYM IID_IWMReaderCallbackAdvanced}
  2547.   IID_IWMReaderNetworkConfig    : TGUID = '{96406bec-2b2b-11d3-b36b-00c04f6108ff}';
  2548.   {$EXTERNALSYM IID_IWMReaderNetworkConfig}
  2549.   IID_IWMReaderStreamClock      : TGUID = '{96406bed-2b2b-11d3-b36b-00c04f6108ff}';
  2550.   {$EXTERNALSYM IID_IWMReaderStreamClock}
  2551.   IID_IWMIndexer                : TGUID = '{6d7cdc71-9888-11d3-8edc-00c04f6109cf}';
  2552.   {$EXTERNALSYM IID_IWMIndexer}
  2553.   IID_IWMIndexer2               : TGUID = '{b70f1e42-6255-4df0-a6b9-02b212d9e2bb}';
  2554.   {$EXTERNALSYM IID_IWMIndexer2}
  2555.   IID_IWMReaderAllocatorEx      : TGUID = '{9f762fa7-a22e-428d-93c9-ac82f3aafe5a}';
  2556.   {$EXTERNALSYM IID_IWMReaderAllocatorEx}
  2557.   IID_IWMReaderTypeNegotiation  : TGUID = '{fdbe5592-81a1-41ea-93bd-735cad1adc05}';
  2558.   {$EXTERNALSYM IID_IWMReaderTypeNegotiation}
  2559.   IID_IWMLicenseBackup          : TGUID = '{05E5AC9F-3FB6-4508-BB43-A4067BA1EBE8}';
  2560.   {$EXTERNALSYM IID_IWMLicenseBackup}
  2561.   IID_IWMLicenseRestore         : TGUID = '{C70B6334-a22e-4efb-A245-15E65A004A13}';
  2562.   {$EXTERNALSYM IID_IWMLicenseRestore}
  2563.   IID_IWMBackupRestoreProps     : TGUID = '{3C8E0DA6-996F-4ff3-A1AF-4838F9377e2e}';
  2564.   {$EXTERNALSYM IID_IWMBackupRestoreProps}
  2565.   IID_IWMPacketSize             : TGUID = '{cdfb97ab-188f-40b3-b643-5b7903975c59}';
  2566.   {$EXTERNALSYM IID_IWMPacketSize}
  2567.   IID_IWMPacketSize2            : TGUID = '{8bfc2b9e-b646-4233-a877-1c6a079669dc}';
  2568.   {$EXTERNALSYM IID_IWMPacketSize2}
  2569.   IID_IWMRegisterCallback       : TGUID = '{cf4b1f99-4de2-4e49-a363-252740d99bc1}';
  2570.   {$EXTERNALSYM IID_IWMRegisterCallback}
  2571.   IID_IWMWriterPostView         : TGUID = '{81e20ce4-75ef-491a-8004-fc53c45bdc3e}';
  2572.   {$EXTERNALSYM IID_IWMWriterPostView}
  2573.   IID_IWMWriterPostViewCallback : TGUID = '{d9d6549d-a193-4f24-b308-03123d9b7f8d}';
  2574.   {$EXTERNALSYM IID_IWMWriterPostViewCallback}
  2575.   IID_IWMCodecInfo              : TGUID = '{a970f41e-34de-4a98-b3ba-e4b3ca7528f0}';
  2576.   {$EXTERNALSYM IID_IWMCodecInfo}
  2577.   IID_IWMCodecInfo2             : TGUID = '{aa65e273-b686-4056-91ec-dd768d4df710}';
  2578.   {$EXTERNALSYM IID_IWMCodecInfo2}
  2579.   IID_IWMCodecInfo3             : TGUID = '{7e51f487-4d93-4f98-8ab4-27d0565adc51}';
  2580.   {$EXTERNALSYM IID_IWMCodecInfo3}
  2581.   IID_IWMPropertyVault          : TGUID = '{72995A79-5090-42a4-9C8C-D9D0B6D34BE5}';
  2582.   {$EXTERNALSYM IID_IWMPropertyVault}
  2583.   IID_IWMIStreamProps           : TGUID = '{6816dad3-2b4b-4c8e-8149-874c3483a753}';
  2584.   {$EXTERNALSYM IID_IWMIStreamProps}
  2585.   IID_IWMLanguageList           : TGUID = '{df683f00-2d49-4d8e-92b7-fb19f6a0dc57}';
  2586.   {$EXTERNALSYM IID_IWMLanguageList}
  2587.   IID_IWMDRMWriter              : TGUID = '{d6ea5dd0-12a0-43f4-90ab-a3fd451e6a07}';
  2588.   {$EXTERNALSYM IID_IWMDRMWriter}
  2589.   IID_IWMWriterPushSink         : TGUID = '{dc10e6a5-072c-467d-bf57-6330a9dde12a}';
  2590.   {$EXTERNALSYM IID_IWMWriterPushSink}
  2591.   IID_IWMReaderNetworkConfig2   : TGUID = '{d979a853-042b-4050-8387-c939db22013f}';
  2592.   {$EXTERNALSYM IID_IWMReaderNetworkConfig2}
  2593.   IID_IWMWatermarkInfo          : TGUID = '{6f497062-f2e2-4624-8ea7-9dd40d81fc8d}';
  2594.   {$EXTERNALSYM IID_IWMWatermarkInfo}
  2595.   IID_IWMReaderAccelerator      : TGUID = '{bddc4d08-944d-4d52-a612-46c3fda07dd4}';
  2596.   {$EXTERNALSYM IID_IWMReaderAccelerator}
  2597.   IID_IWMReaderTimecode         : TGUID = '{f369e2f0-e081-4fe6-8450-b810b2f410d1}';
  2598.   {$EXTERNALSYM IID_IWMReaderTimecode}
  2599.   IID_IWMImageInfo              : TGUID = '{9f0aa3b6-7267-4d89-88f2-ba915aa5c4c6}';
  2600.   {$EXTERNALSYM IID_IWMImageInfo}
  2601.   IID_IWMAddressAccess          : TGUID = '{BB3C6389-1633-4e92-AF14-9F3173BA39D0}';
  2602.   {$EXTERNALSYM IID_IWMAddressAccess}
  2603.   IID_IWMAddressAccess2         : TGUID = '{65a83fc2-3e98-4d4d-81b5-2a742886b33d}';
  2604.   {$EXTERNALSYM IID_IWMAddressAccess2}
  2605.  
  2606. ///////////////////////////////////////////////////////////////////////////////
  2607. //
  2608. // Other GUIDs defined here
  2609. //
  2610. ///////////////////////////////////////////////////////////////////////////////
  2611.  
  2612.   CLSID_WMMUTEX_Language     : TGUID = '{D6E22A00-35DA-11D1-9034-00A0C90349BE}';
  2613.   {$EXTERNALSYM CLSID_WMMUTEX_Language}
  2614.   CLSID_WMMUTEX_Bitrate      : TGUID = '{D6E22A01-35DA-11D1-9034-00A0C90349BE}';
  2615.   {$EXTERNALSYM CLSID_WMMUTEX_Bitrate}
  2616.   CLSID_WMMUTEX_Presentation : TGUID = '{D6E22A02-35DA-11D1-9034-00A0C90349BE}';
  2617.   {$EXTERNALSYM CLSID_WMMUTEX_Presentation}
  2618.   CLSID_WMMUTEX_Unknown      : TGUID = '{D6E22A03-35DA-11D1-9034-00A0C90349BE}';
  2619.   {$EXTERNALSYM CLSID_WMMUTEX_Unknown}
  2620.  
  2621.   CLSID_WMBandwidthSharing_Exclusive : TGUID = '{af6060aa-5197-11d2-b6af-00c04fd908e9}';
  2622.   {$EXTERNALSYM CLSID_WMBandwidthSharing_Exclusive}
  2623.   CLSID_WMBandwidthSharing_Partial   : TGUID = '{af6060ab-5197-11d2-b6af-00c04fd908e9}';
  2624.   {$EXTERNALSYM CLSID_WMBandwidthSharing_Partial}
  2625.  
  2626.   WMT_DMOCATEGORY_AUDIO_WATERMARK : TGUID = '{B42CDE2B-6178-4a2c-A375-89DD3FD7F497}';
  2627.   {$EXTERNALSYM WMT_DMOCATEGORY_AUDIO_WATERMARK}
  2628.   WMT_DMOCATEGORY_VIDEO_WATERMARK : TGUID = '{E77797C6-18AF-4458-BBDD-492D3F78FC8F}';
  2629.   {$EXTERNALSYM WMT_DMOCATEGORY_VIDEO_WATERMARK}
  2630.  
  2631. ///////////////////////////////////////////////////////////////////////////////
  2632. //
  2633. // Max Video Streams / Bands
  2634. //
  2635. ///////////////////////////////////////////////////////////////////////////////
  2636.  
  2637.   WM_MAX_VIDEO_STREAMS           = $3f;
  2638.   {$EXTERNALSYM WM_MAX_VIDEO_STREAMS}
  2639.   WM_MAX_STREAMS                 = $3f;
  2640.   {$EXTERNALSYM WM_MAX_STREAMS}
  2641.  
  2642. ///////////////////////////////////////////////////////////////////////////////
  2643. //
  2644. // Creation functions.
  2645. //
  2646. // The SDK supports 3 major objects:
  2647. // - CLSID_WMWriter - For writing out WM content.
  2648. // - CLSID_WMReader - For playing back WM content.
  2649. // - CLSID_WMMetadataEditor - For getting and editing header metadata in WM
  2650. //   content.
  2651. //
  2652. ///////////////////////////////////////////////////////////////////////////////
  2653.  
  2654.  
  2655. ///////////////////////////////////////////////////////////////////////////////
  2656. //
  2657. // The following interfaces define the media types that this SDK supports.
  2658. // These media types are used by the writer, the reader, and the profile
  2659. // object, to identify the media-type specific properties of a media stream.
  2660. //
  2661. // The main media type is stored in the WM_MEDIA_TYPE structure. Some
  2662. // interesting (option) parameters may exist for particular stream types;
  2663. // in that case, an IWM<x>MediaProps interface can be used to get and set
  2664. // these additional parameters.
  2665. //
  2666. type
  2667.   {$HPPEMIT 'typedef System::DelphiInterface<IWMMediaProps> _di_IWMMediaProps;'}
  2668.   {$EXTERNALSYM IWMMediaProps}
  2669.   IWMMediaProps = interface(IUnknown)
  2670.   ['{96406BCE-2B2B-11d3-B36B-00C04F6108FF}']
  2671.   (*** IWMMediaProps methods ***)
  2672.     //
  2673.     // GetType is provided for convenience; it returns the same as the
  2674.     // majortype of the WM_MEDIA_TYPE.
  2675.     //
  2676.     function GetType(out pguidType: TGUID): HRESULT; stdcall;
  2677.     function GetMediaType(pType: PWMMediaType;
  2678.                           var pcbType: LongWord): HRESULT; stdcall;
  2679.     function SetMediaType(pType: PWMMediaType): HRESULT; stdcall;
  2680.   end;
  2681.  
  2682.   {$HPPEMIT 'typedef System::DelphiInterface<IWMVideoMediaProps> _di_IWMVideoMediaProps;'}
  2683.   {$EXTERNALSYM IWMVideoMediaProps}
  2684.   IWMVideoMediaProps = interface(IWMMediaProps)
  2685.   ['{96406BCF-2B2B-11d3-B36B-00C04F6108FF}']
  2686.   (*** IWMVideoMediaProps methods ***)
  2687.     function GetMaxKeyFrameSpacing(out pllTime: Int64): HRESULT; stdcall;
  2688.     function SetMaxKeyFrameSpacing(llTime: Int64): HRESULT; stdcall;
  2689.     function GetQuality(out pdwQuality: LongWord): HRESULT; stdcall;
  2690.     function SetQuality(dwQuality: LongWord): HRESULT; stdcall;
  2691.   end;
  2692.  
  2693. ///////////////////////////////////////////////////////////////////////////////
  2694. //
  2695. // The CLSID_WMWriter basic interfaces.
  2696. //
  2697. // Usage scenario is as follows:
  2698. // 1) SetProfile to define the configuration.
  2699. // 2) Set the outputs.
  2700. // 3) Call GetInputCount (which is valid after (1)), and GetInputProps for
  2701. //    each stream. Get the default input format, and change it if desired.
  2702. // 3.5) Call SetAttribute to add metadata to the header
  2703. // At this point, the writer has been configured.
  2704. // 4) Call WriteSample repeatedly, until done. (Note that the AllocateSample
  2705. //    call is just provided for convenience. You are welcome to pass in your
  2706. //    own samples.)
  2707. // 5) Call Flush to write out any buffered data, and update the header and
  2708. //    index.
  2709. //
  2710. ///////////////////////////////////////////////////////////////////////////////
  2711.   IWMProfile = interface;
  2712.   IWMInputMediaProps = interface;
  2713.  
  2714.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriter> _di_IWMWriter;'}
  2715.   {$EXTERNALSYM IWMWriter}
  2716.   IWMWriter = interface(IUnknown)
  2717.   ['{96406BD4-2B2B-11d3-B36B-00C04F6108FF}']
  2718.   (*** IWMWriter methods ***)
  2719.     // This interface QI's for IWMHeaderInfo, and IWMWriterAdvanced.
  2720.  
  2721.     //
  2722.     // There are 3 options for setting the profile on the writer. Note that
  2723.     // setting the profile means that the profile is copied into the writer.
  2724.     // Further editing of that profile object will have no effect, unless
  2725.     // SetProfile() is called again.
  2726.     //
  2727.     // Calling SetProfile() removes any previously set header attribute info
  2728.     //
  2729.     function SetProfileByID(const guidProfile: TGUID): HRESULT; stdcall;
  2730.  
  2731.     function SetProfile(pProfile: IWMProfile): HRESULT; stdcall;
  2732.  
  2733.     //
  2734.     // The easiest way to use the writer is just to write to file.
  2735.     //
  2736.     function SetOutputFilename(pwszFilename: PWideChar): HRESULT; stdcall;
  2737.  
  2738.     //
  2739.     // The user can enumerate through the various inputs, and get the input
  2740.     // format. Note that these are not ASF streams; one input stream may map
  2741.     // to multiple ASF streams in a MEB scenario.
  2742.     //
  2743.     // Manipulating the IWMInputMediaProps has no effect on the writer, unless
  2744.     // the user calls SetInputProps to configure the input.
  2745.     //
  2746.     function GetInputCount(out pcInputs: LongWord): HRESULT; stdcall;
  2747.  
  2748.     function GetInputProps(dwInputNum: LongWord; out ppInput: IWMInputMediaProps): HRESULT; stdcall;
  2749.  
  2750.     function SetInputProps(dwInputNum: LongWord; pInput: IWMInputMediaProps): HRESULT; stdcall;
  2751.  
  2752.     //
  2753.     // Used for determining all possible format types supported by this
  2754.     // input on the writer.
  2755.     //
  2756.     function GetInputFormatCount(dwInputNumber: LongWord; out pcFormats: LongWord): HRESULT; stdcall;
  2757.  
  2758.     function GetInputFormat(dwInputNumber, dwFormatNumber: LongWord;
  2759.        out pProps: IWMInputMediaProps): HRESULT; stdcall;
  2760.  
  2761.     //
  2762.     // You must call BeginWriting before sending any samples, and
  2763.     // you must call EndWriting when you're done sending samples.
  2764.     //
  2765.     function BeginWriting: HRESULT; stdcall;
  2766.  
  2767.     //
  2768.     // EndWriting flushes everything, updates indices and headers,
  2769.     // and closes the file.
  2770.     //
  2771.     function EndWriting: HRESULT; stdcall;
  2772.  
  2773.     //
  2774.     // Allocate a sample. This is optional; the user is welcome to allocate
  2775.     // their own buffer class.
  2776.     //
  2777.     function AllocateSample(dwSampleSize: LongWord; out ppSample: INSSBuffer): HRESULT; stdcall;
  2778.  
  2779.     function WriteSample(dwInputNum: LongWord; cnsSampleTime: Int64; dwFlags: LongWord;
  2780.       pSample: INSSBuffer): HRESULT; stdcall;
  2781.  
  2782.     //
  2783.     // Flush() will flush the writer, but leaves the writer prepared to run
  2784.     // again, when WriteSample() is called again.
  2785.     // Flush() also causes an updated header to be sent to the sink.
  2786.     //
  2787.     function Flush: HRESULT; stdcall;
  2788.   end;
  2789.  
  2790. //
  2791. // The writer can be QI'd for this interface, which provides helpers
  2792. // to generate DRM keys.
  2793. //
  2794.   {$HPPEMIT 'typedef System::DelphiInterface<IWMDRMWriter> _di_IWMDRMWriter;'}
  2795.   {$EXTERNALSYM IWMDRMWriter}
  2796.   IWMDRMWriter = interface(IUnknown)
  2797.   ['{d6ea5dd0-12a0-43f4-90ab-a3fd451e6a07}']
  2798.   (*** IWMDRMWriter methods ***)
  2799.     function GenerateKeySeed({out} pwszKeySeed: PWideChar; var pcwchLength: LongWord): HRESULT; stdcall;
  2800.     function GenerateKeyID({out} pwszKeyID: PWideChar; var pcwchLength: LongWord): HRESULT; stdcall;
  2801.     function GenerateSigningKeyPair({out} pwszPrivKey: PWideChar;
  2802.                                     var pcwchPrivKeyLength: LongWord;
  2803.                                     {out} pwszPubKey: PWideChar;
  2804.                                     var pcwchPubKeyLength: LongWord): HRESULT; stdcall;
  2805.     function SetDRMAttribute(wStreamNum: Word; pszName: PWideChar; Type_: TWMTAttrDataType;
  2806.       pValue: PBYTE; cbLength: Word): HRESULT; stdcall;
  2807.   end;
  2808.  
  2809.   {$HPPEMIT 'typedef System::DelphiInterface<IWMInputMediaProps> _di_IWMInputMediaProps;'}
  2810.   {$EXTERNALSYM IWMInputMediaProps}
  2811.   IWMInputMediaProps = interface(IWMMediaProps)
  2812.   ['{96406BD5-2B2B-11d3-B36B-00C04F6108FF}']
  2813.   (*** IWMInputMediaProps methods ***)
  2814.     function GetConnectionName({out} pwszName: PWideChar; var pcchName: Word): HRESULT; stdcall;
  2815.     function GetGroupName({out} pwszName: PWideChar; var pcchName: Word): HRESULT; stdcall;
  2816.   end;
  2817.  
  2818.  
  2819.   {$HPPEMIT 'typedef System::DelphiInterface<IWMPropertyVault> _di_IWMPropertyVault;'}
  2820.   {$EXTERNALSYM IWMPropertyVault}
  2821.   IWMPropertyVault = interface(IUnknown)
  2822.   ['{72995A79-5090-42a4-9C8C-D9D0B6D34BE5}']
  2823.   (*** IWMPropertyVault methods ***)
  2824.     function GetPropertyCount(out pdwCount: LongWord): HRESULT; stdcall;
  2825.     function GetPropertyByName(pszName: PWideChar; out pType: TWMTAttrDataType;
  2826.       {out} pValue: PBYTE;  var pdwSize: LongWord): HRESULT; stdcall;
  2827.     function SetProperty(pszName: PWideChar; pType: TWMTAttrDataType;
  2828.       pValue: PBYTE; dwSize: LongWord): HRESULT; stdcall;
  2829.     function GetPropertyByIndex(dwIndex: LongWord; {out} pszName: PWideChar;
  2830.       var pdwNameLen: LongWord; out pType: TWMTAttrDataType;
  2831.       {out} pValue: PBYTE; var pdwSize: LongWord): HRESULT; stdcall;
  2832.     function CopyPropertiesFrom(pIWMPropertyVault: IWMPropertyVault): HRESULT; stdcall;
  2833.     function Clear: HRESULT; stdcall;
  2834.   end;
  2835.  
  2836.   {$HPPEMIT 'typedef System::DelphiInterface<IWMIStreamProps> _di_IWMIStreamProps;'}
  2837.   {$EXTERNALSYM IWMIStreamProps}
  2838.   IWMIStreamProps = interface(IUnknown)
  2839.   ['{6816dad3-2b4b-4c8e-8149-874c3483a753}']
  2840.   (*** IWMIStreamProps methods ***)
  2841.     function GetProperty(pszName: PWideChar; out pType: TWMTAttrDataType;
  2842.       {out} pValue: PBYTE; var pdwSize: LongWord): HRESULT; stdcall;
  2843.   end;
  2844.  
  2845. ///////////////////////////////////////////////////////////////////////////////
  2846. //
  2847. // The CLSID_WMReader basic interfaces.
  2848. //
  2849. // Usage is as follows:
  2850. // 1) Call Open with a URL (possibly a local filename) and a user-supplied
  2851. //    callback. After open has completed, the file has been opened and parsed.
  2852. // 2) Call GetOutputCount, and GetOutputProps for each output. This
  2853. //    is valid after (1). This allows the user to get the output format for
  2854. //    each output.
  2855. // 3) Call Start. Status messages and samples will begin arriving in the
  2856. //    callback function.
  2857. // 4) Continue with any combination of Start/Stop/Pause, until finished.
  2858. //
  2859. ///////////////////////////////////////////////////////////////////////////////
  2860.  
  2861.   IWMReaderCallback = interface;
  2862.   IWMOutputMediaProps = interface;
  2863.  
  2864.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReader> _di_IWMReader;'}
  2865.   {$EXTERNALSYM IWMReader}
  2866.   IWMReader = interface(IUnknown)
  2867.   ['{96406BD6-2B2B-11d3-B36B-00C04F6108FF}']
  2868.   (*** IWMReader methods ***)
  2869.     //
  2870.     // This interface QI's for IWMHeaderInfo, IWMProfile, IWMReaderAdvanced,
  2871.     // IWMReaderAdvanced2, and IWMReaderAdvanced3.
  2872.     //
  2873.  
  2874.     //
  2875.     // Open is an asynch call; it returns almost immediately (if the URL
  2876.     // is valid), and the user should wait for appropriate OnStatus calls to
  2877.     // be sent to the callback.
  2878.     //
  2879.     function Open(pwszURL: PWideChar; pCallback: IWMReaderCallback;
  2880.       pvContext: Pointer): HRESULT; stdcall;
  2881.  
  2882.     function Close: HRESULT; stdcall;
  2883.  
  2884.     //
  2885.     // The user can enumerate through the various outputs, and get the
  2886.     // output format for that data.
  2887.     //
  2888.     // Manipulating the IWMOutputMediaProps has no effect on the output, unless
  2889.     // the user also calls SetOutputProps.
  2890.     //
  2891.     function GetOutputCount(out pcOutputs: LongWord): HRESULT; stdcall;
  2892.  
  2893.     function GetOutputProps(dwOutputNum: LongWord; out ppOutput: IWMOutputMediaProps): HRESULT; stdcall;
  2894.  
  2895.     function SetOutputProps(dwOutputNum: LongWord; pOutput: IWMOutputMediaProps): HRESULT; stdcall;
  2896.  
  2897.     //
  2898.     // Used for determining all possible format types supported by this
  2899.     // output on the reader.
  2900.     //
  2901.     function GetOutputFormatCount(dwOutputNumber: LongWord; out pcFormats: LongWord): HRESULT; stdcall;
  2902.  
  2903.     function GetOutputFormat(dwOutputNumber, dwFormatNumber: LongWord;
  2904.       out ppProps: IWMOutputMediaProps): HRESULT; stdcall;
  2905.  
  2906.     //
  2907.     // If duration is 0, play to the end of the file.
  2908.     // If msStart is set to WM_START_CURRENTPOSITION then don't perform a seek
  2909.     // operation.  A good use for this is when you want to change the rate but
  2910.     // not the current file position.
  2911.     //
  2912.     // Note that any call to start while Paused will be treated as a seek.
  2913.     // Even calls to Start( WM_START_CURRENTPOSITION, ... ).  If your intention
  2914.     // is to seek (which will incur the buffering penalty from network files)
  2915.     // then you can go ahead and call Start.  However, if your intention was
  2916.     // to continue playing from where the user paused, you should call Resume
  2917.     // instead.
  2918.     //
  2919.     function Start(cnsStart, cnsDuration: Int64; fRate: Single; pvContext: Pointer): HRESULT; stdcall;
  2920.     function Stop: HRESULT; stdcall;
  2921.     function Pause: HRESULT; stdcall;
  2922.     function Resume: HRESULT; stdcall;
  2923.   end;
  2924.  
  2925.   {$HPPEMIT 'typedef System::DelphiInterface<IWMSyncReader> _di_IWMSyncReader;'}
  2926.   {$EXTERNALSYM IWMSyncReader}
  2927.   IWMSyncReader = interface(IUnknown)
  2928.   ['{9397F121-7705-4dc9-B049-98B698188414}']
  2929.   (*** IWMSyncReader methods ***)
  2930.     //
  2931.     // This interface can be QI'ed for IWMProfile, IWMHeaderInfo and
  2932.     // IWMReaderTimecode interfaces
  2933.     //
  2934.  
  2935.     //
  2936.     // Open is an synchronous call. We do not support streaming at this time.
  2937.     // All open with http:// etc would fail. We do support MP3 or Windows
  2938.     // media files from both local file or UNC path.
  2939.     //
  2940.     function Open(pwszFilename: PWideChar): HRESULT; stdcall;
  2941.  
  2942.     function Close: HRESULT; stdcall;
  2943.  
  2944.     //
  2945.     // SetRange is basically a seek method, you can only set same range
  2946.     // for all streams. Use cnsDuration=0 to specify reading to end of file.
  2947.     //
  2948.     function SetRange(cnsStartTime, cnsDuration: Int64): HRESULT; stdcall;
  2949.  
  2950.     //
  2951.     // SetRangeByFrame is frame-based access, the file has to be frame
  2952.     // indexed to succeeded this call. If the call is successful, all
  2953.     // streams are synchronized to the same position based on time.
  2954.     // Also use cFramesToRead=0 to specify reading to end of file.
  2955.     //
  2956.     function SetRangeByFrame(wStreamNum: Word; qwFrameNumber, cFramesToRead: Int64 ): HRESULT; stdcall;
  2957.  
  2958.     //
  2959.     // If a valid stream number is specified, next sample from that stream
  2960.     // will be returned, pwStreamNum can be NULL in this case. Otherwise,
  2961.     // GetNextSample returns the next sample in time line (regardless of
  2962.     // which stream). The sample's stream number will be returned.
  2963.     // Time line is presentation time if no output setting is specified.
  2964.     // To get early delivery for some stream, use SetOutputSetting
  2965.     //
  2966.     function GetNextSample(wStreamNum: Word; out ppSample: INSSBuffer;
  2967.       out pcnsSampleTime: Int64; out pcnsDuration: Int64;
  2968.       out pdwFlags: LongWord; out pdwOutputNum: LongWord;
  2969.       out pwStreamNum: Word): HRESULT; stdcall;
  2970.  
  2971.     //
  2972.     // Stream selection methods are the same as asynchronous interface
  2973.     //
  2974.     function SetStreamsSelected(cStreamCount: Word; pwStreamNumbers: PWORD;
  2975.       pSelections: PWMTStreamSelection): HRESULT; stdcall;
  2976.  
  2977.     function GetStreamSelected(wStreamNum: Word; out pSelection: TWMTStreamSelection): HRESULT; stdcall;
  2978.  
  2979.     function SetReadStreamSamples(wStreamNum: Word; fCompressed: BOOL): HRESULT; stdcall;
  2980.  
  2981.     function GetReadStreamSamples(wStreamNum: Word; out pfCompressed: BOOL): HRESULT; stdcall;
  2982.  
  2983.     //
  2984.     // The following two methods are the same as the ones in
  2985.     // IWMReaderAdvanced2 interface. We don't support JustInTimeDecode
  2986.     // in this interface
  2987.     //
  2988.     function GetOutputSetting(dwOutputNum: LongWord; pszName: PWideChar;
  2989.       out pType: TWMTAttrDataType; {out} pValue: PBYTE;
  2990.       var pcbLength: Word): HRESULT; stdcall;
  2991.  
  2992.     //
  2993.     // Sets a named setting for a particular output
  2994.     //
  2995.     function SetOutputSetting(dwOutputNum: LongWord; pszName: PWideChar;
  2996.       Type_: TWMTAttrDataType; {in} pValue: PBYTE; cbLength: Word): HRESULT; stdcall;
  2997.  
  2998.     //
  2999.     // The following methods are important for receiving uncompressed samples,
  3000.     // they are identical to methods in asynchronous Reader interface.
  3001.     //
  3002.     function GetOutputCount(out pcOutputs: LongWord): HRESULT; stdcall;
  3003.  
  3004.     function GetOutputProps(dwOutputNum: LongWord; out ppOutput: IWMOutputMediaProps): HRESULT; stdcall;
  3005.  
  3006.     function SetOutputProps(dwOutputNum: LongWord; pOutput: IWMOutputMediaProps): HRESULT; stdcall;
  3007.  
  3008.     //
  3009.     // Used for determining all possible format types supported by this
  3010.     // output on the reader.
  3011.     //
  3012.     function GetOutputFormatCount(dwOutputNum: LongWord; out pcFormats: LongWord): HRESULT; stdcall;
  3013.  
  3014.     function GetOutputFormat(dwOutputNum, dwFormatNum: LongWord; out ppProps: IWMOutputMediaProps): HRESULT; stdcall;
  3015.  
  3016.     //
  3017.     // Methods provided to relate output numbers with stream numbers
  3018.     //
  3019.     function GetOutputNumberForStream(wStreamNum: Word; out pdwOutputNum: LongWord): HRESULT; stdcall;
  3020.  
  3021.     function GetStreamNumberForOutput(dwOutputNum: LongWord; out pwStreamNum: Word): HRESULT; stdcall;
  3022.  
  3023.     function GetMaxOutputSampleSize(dwOutput: LongWord; out pcbMax: LongWord): HRESULT; stdcall;
  3024.  
  3025.     function GetMaxStreamSampleSize(wStream: Word; out pcbMax: LongWord): HRESULT; stdcall;
  3026.  
  3027.     //
  3028.     // Same as IWMSyncReader::Open but takes an IStream interface pointer
  3029.     // instead of an file name to be opened. This method is typically
  3030.     // used for custom source.
  3031.     //
  3032.     function OpenStream(pStream: IStream): HRESULT; stdcall;
  3033.   end;
  3034.  
  3035.   IWMReaderAllocatorEx = interface;
  3036.  
  3037.   {$HPPEMIT 'typedef System::DelphiInterface<IWMSyncReader2> _di_IWMSyncReader2;'}
  3038.   {$EXTERNALSYM IWMSyncReader2}
  3039.   IWMSyncReader2 = interface(IWMSyncReader)
  3040.   ['{faed3d21-1b6b-4af7-8cb6-3e189bbc187b}']
  3041.   (*** IWMSyncReader2 methods ***)
  3042.     //
  3043.     // SetRangeByTimecode is timecode-based access, the file has to be timecode
  3044.     // indexed to succeeded this call. If the call is successful, all
  3045.     // streams are synchronized to the same position based on presentation
  3046.     // time.
  3047.     //
  3048.     function SetRangeByTimecode(wStreamNum: Word;
  3049.       var pStart, pEnd: TWMTTimeCodeExtensionData): HRESULT; stdcall;
  3050.  
  3051.     //
  3052.     // SetRangeByFrame is frame-based access, the file has to be frame
  3053.     // indexed to succeeded this call. If the call is successful, all
  3054.     // streams are synchronized to the same position based on time.
  3055.     // Also use cFramesToRead=0 to specify reading to end of file.
  3056.     //
  3057.     function SetRangeByFrameEx(wStreamNum: Word; qwFrameNumber, cFramesToRead: Int64;
  3058.       out pcnsStartTime: Int64): HRESULT; stdcall;
  3059.  
  3060.     //
  3061.     // The following four methods are for user buffer allocations
  3062.     //
  3063.     function SetAllocateForOutput(dwOutputNum: LongWord; pAllocator: IWMReaderAllocatorEx): HRESULT; stdcall;
  3064.     function GetAllocateForOutput(dwOutputNum: LongWord; out ppAllocator: IWMReaderAllocatorEx): HRESULT; stdcall;
  3065.     function SetAllocateForStream(wStreamNum: Word; pAllocator: IWMReaderAllocatorEx): HRESULT; stdcall;
  3066.     function GetAllocateForStream(dwSreamNum: Word; out ppAllocator: IWMReaderAllocatorEx): HRESULT; stdcall;
  3067.   end;
  3068.  
  3069.   {$HPPEMIT 'typedef System::DelphiInterface<IWMOutputMediaProps> _di_IWMOutputMediaProps;'}
  3070.   {$EXTERNALSYM IWMOutputMediaProps}
  3071.   IWMOutputMediaProps = interface(IWMMediaProps)
  3072.   ['{96406BD7-2B2B-11d3-B36B-00C04F6108FF}']
  3073.   (*** IWMOutputMediaProps methods ***)
  3074.     //
  3075.     // A Stream Group and type together uniquely identify each output. (The
  3076.     // type is on IWMMediaProps).
  3077.     //
  3078.     function GetStreamGroupName({out} pwszName: PWideChar; var pcchName: Word): HRESULT; stdcall;
  3079.     function GetConnectionName({out} pwszName: PWideChar; var pcchName: Word): HRESULT; stdcall;
  3080.   end;
  3081.  
  3082.   {$HPPEMIT 'typedef System::DelphiInterface<IWMStatusCallback> _di_IWMStatusCallback;'}
  3083.   {$EXTERNALSYM IWMStatusCallback}
  3084.   IWMStatusCallback = interface(IUnknown)
  3085.   ['{6d7cdc70-9888-11d3-8edc-00c04f6109cf}']
  3086.   (*** IWMStatusCallback methods ***)
  3087.     // The contents of pValue depends on the Status.
  3088.     function OnStatus(Status: TWMTStatus; hr: HRESULT; dwType: TWMTAttrDataType;
  3089.       pValue: PBYTE; pvContext: Pointer): HRESULT; stdcall;
  3090.   end;
  3091.  
  3092.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderCallback> _di_IWMReaderCallback;'}
  3093.   {$EXTERNALSYM IWMReaderCallback}
  3094.   IWMReaderCallback = interface(IWMStatusCallback)
  3095.   ['{96406BD8-2B2B-11d3-B36B-00C04F6108FF}']
  3096.   (*** IWMReaderCallback methods ***)
  3097.     // cnsSampleDuration will be 0 for most media types.
  3098.     function OnSample(dwOutputNum: LongWord; cnsSampleTime, cnsSampleDuration: Int64;
  3099.       dwFlags: LongWord; pSample: INSSBuffer; pvContext: Pointer): HRESULT; stdcall;
  3100.   end;
  3101.  
  3102.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCredentialCallback> _di_IWMCredentialCallback;'}
  3103.   {$EXTERNALSYM IWMCredentialCallback}
  3104.   IWMCredentialCallback = interface(IUnknown)
  3105.   ['{342e0eb7-e651-450c-975b-2ace2c90c48e}']
  3106.   (*** IWMCredentialCallback methods ***)
  3107.     function AcquireCredentials(pwszRealm, pwszSite: PWideChar; {out} pwszUser: PWideChar;
  3108.       cchUser: LongWord; {out} pwszPassword: PWideChar; cchPassword: LongWord;
  3109.       hrStatus: HRESULT; out pdwFlags: LongWord): HRESULT; stdcall; // Combination of WMT_CREDENTIAL_FLAGS
  3110.   end;
  3111.  
  3112. ///////////////////////////////////////////////////////////////////////////////
  3113. //
  3114. // The CLSID_WMMetadataEditor basic interfaces.
  3115. //
  3116. // Usage:
  3117. // 1) Call Open with a filename.
  3118. // 2) QI for IWMHeaderInfo, and use that to get and set attributes as
  3119. //    needed.
  3120. // 3) Flush() will cause any changes to be written back to disk (if possible).
  3121. // 4) Close() closes the file without writing any changes to disk.
  3122. //
  3123. ///////////////////////////////////////////////////////////////////////////////
  3124.  
  3125.   {$HPPEMIT 'typedef System::DelphiInterface<IWMMetadataEditor> _di_IWMMetadataEditor;'}
  3126.   {$EXTERNALSYM IWMMetadataEditor}
  3127.   IWMMetadataEditor = interface(IUnknown)
  3128.   ['{96406BD9-2B2B-11d3-B36B-00C04F6108FF}']
  3129.   (*** IWMMetadataEditor methods ***)
  3130.     // QI this for IWMHeaderInfo to edit the header attributes.
  3131.     // Manage the file
  3132.     function Open(pwszFilename: PWideChar): HRESULT; stdcall;
  3133.     function Close: HRESULT; stdcall;
  3134.     function Flush: HRESULT; stdcall;
  3135.   end;
  3136.  
  3137.   {$HPPEMIT 'typedef System::DelphiInterface<IWMMetadataEditor2> _di_IWMMetadataEditor2;'}
  3138.   {$EXTERNALSYM IWMMetadataEditor2}
  3139.   IWMMetadataEditor2 = interface(IWMMetadataEditor)
  3140.   ['{203CFFE3-2E18-4fdf-B59D-6E71530534CF}']
  3141.   (*** IWMMetadataEditor2 methods ***)
  3142.     //
  3143.     // The flags to dwDesiredAccess and dwShareMode match the flags to
  3144.     // (the win32 API) CreateFile.
  3145.     //
  3146.     // Supported combinations are:
  3147.     //
  3148.     //   dwDesiredAccess               dwShareMode
  3149.     //   ----------------------------  -----------
  3150.     //   GENERIC_READ | GENERIC_WRITE  0
  3151.     //   GENERIC_READ | GENERIC_WRITE  FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE
  3152.     //   GENERIC_READ                  0
  3153.     //   GENERIC_READ                  FILE_SHARE_READ
  3154.     //   GENERIC_READ                  FILE_SHARE_DELETE
  3155.     //   GENERIC_READ                  FILE_SHARE_READ | FILE_SHARE_DELETE
  3156.     //
  3157.     function OpenEx(pwszFilename: PWideChar; dwDesiredAccess, dwShareMode: LongWord): HRESULT; stdcall;
  3158.   end;
  3159.  
  3160.   {$HPPEMIT 'typedef System::DelphiInterface<IWMDRMEditor> _di_IWMDRMEditor;'}
  3161.   {$EXTERNALSYM IWMDRMEditor}
  3162.   IWMDRMEditor = interface(IUnknown)
  3163.   ['{FF130EBC-A6C3-42A6-B401-C3382C3E08B3}']
  3164.   (*** IWMDRMEditor methods ***)
  3165.     // For accessing DRM properties from the metadata editor.
  3166.     function GetDRMProperty(pwstrName: PWideChar; out pdwType: TWMTAttrDataType;
  3167.       {out} pValue: PBYTE; var pcbLength: Word): HRESULT; stdcall;
  3168.   end;
  3169.  
  3170. ///////////////////////////////////////////////////////////////////////////////
  3171. //
  3172. // Below are utility interfaces used across all 3 of the main objects.
  3173. //
  3174. ///////////////////////////////////////////////////////////////////////////////
  3175.  
  3176.  
  3177. //
  3178. // The 3 main interface (IWMWriter, IWMReader, and
  3179. // IWMMetadataEditor) can be QI'd for this interface to get and set
  3180. // header attributes, and markers.
  3181. //
  3182.  
  3183.   {$HPPEMIT 'typedef System::DelphiInterface<IWMHeaderInfo> _di_IWMHeaderInfo;'}
  3184.   {$EXTERNALSYM IWMHeaderInfo}
  3185.   IWMHeaderInfo = interface(IUnknown)
  3186.   ['{96406BDA-2B2B-11d3-B36B-00C04F6108FF}']
  3187.   (*** IWMHeaderInfo methods ***)
  3188.     // For attributes, the stream number passed in means:
  3189.     // -1 (0xffff) to specifies "any or no stream".
  3190.     // 0 specifies "no stream".
  3191.     // Any other value indicates the stream number.
  3192.     //
  3193.     // Windows Media version 4 and earlier does not support per stream
  3194.     // attributes, so any stream number other than 0 will fail.
  3195.     //
  3196.     function GetAttributeCount(wStreamNum: Word; out pcAttributes: Word): HRESULT; stdcall;
  3197.  
  3198.     function GetAttributeByIndex(wIndex: Word; var pwStreamNum: Word;
  3199.       {out} pwszName: PWideChar; var pcchNameLen: Word;
  3200.       out pType: TWMTAttrDataType; {out} pValue: PBYTE;
  3201.       var pcbLength: Word): HRESULT; stdcall;
  3202.  
  3203.     function GetAttributeByName(var pwStreamNum: Word; pszName: PWideChar;
  3204.       out pType: TWMTAttrDataType; {out} pValue: PBYTE;
  3205.       var pcbLength: Word): HRESULT; stdcall;
  3206.  
  3207.     function SetAttribute(wStreamNum: Word; pszName: PWideChar;
  3208.       Type_: TWMTAttrDataType; {in} pValue: PBYTE;
  3209.       cbLength: Word): HRESULT; stdcall;
  3210.  
  3211.     // Marker methods.
  3212.     function GetMarkerCount(out pcMarkers: Word): HRESULT; stdcall;
  3213.  
  3214.     function GetMarker(wIndex: Word; {out} pwszMarkerName: PWideChar;
  3215.       var pcchMarkerNameLen: Word; out pcnsMarkerTime: Int64): HRESULT; stdcall;
  3216.  
  3217.     function AddMarker(pwszMarkerName: PWideChar; cnsMarkerTime: Int64): HRESULT; stdcall;
  3218.  
  3219.     function RemoveMarker(wIndex: Word): HRESULT; stdcall;
  3220.  
  3221.     // Script command methods.
  3222.     function GetScriptCount(out pcScripts: Word): HRESULT; stdcall;
  3223.  
  3224.     function GetScript(wIndex: Word; {out} pwszType: PWideChar;
  3225.       var pcchTypeLen: Word; {out} pwszCommand: PWideChar;
  3226.       var pcchCommandLen: Word; out pcnsScriptTime: Int64): HRESULT; stdcall;
  3227.  
  3228.     function AddScript(pwszType, pwszCommand: PWideChar;
  3229.       cnsScriptTime: Int64): HRESULT; stdcall;
  3230.  
  3231.     function RemoveScript(wIndex: Word): HRESULT; stdcall;
  3232.   end;
  3233.  
  3234. // The 3 main interface (IWMWriter, IWMReader, and
  3235. // IWMMetadataEditor) can be QI'd for this interface to get and set
  3236. // header attributes, and markers.
  3237.  
  3238.   {$HPPEMIT 'typedef System::DelphiInterface<IWMHeaderInfo2> _di_IWMHeaderInfo2;'}
  3239.   {$EXTERNALSYM IWMHeaderInfo2}
  3240.   IWMHeaderInfo2 = interface(IWMHeaderInfo)
  3241.   ['{15CF9781-454E-482e-B393-85FAE487A810}']
  3242.   (*** IWMHeaderInfo2 methods ***)
  3243.     function GetCodecInfoCount(out pcCodecInfos: LongWord): HRESULT; stdcall;
  3244.  
  3245.     function GetCodecInfo(wIndex: LongWord; var pcchName: Word;
  3246.       {out} pwszName: PWideChar; var pcchDescription: Word;
  3247.       {out} pwszDescription: PWideChar; out pCodecType: WMT_CODEC_INFO_TYPE;
  3248.       var pcbCodecInfo: Word; {out} pbCodecInfo: PBYTE): HRESULT; stdcall;
  3249.   end;
  3250.  
  3251. ///////////////////////////////////////////////////////////////////////////////
  3252. //
  3253. // IWMHeaderInfo3 - V9 metadata features. This interface extends IWMHeaderInfo
  3254. // functionality:
  3255. //  - allows >64k attributes;
  3256. //  - allows multiple attributes with the same name;
  3257. //  - works with attribute languages.
  3258. //
  3259. ///////////////////////////////////////////////////////////////////////////////
  3260.  
  3261.   {$HPPEMIT 'typedef System::DelphiInterface<IWMHeaderInfo3> _di_IWMHeaderInfo3;'}
  3262.   {$EXTERNALSYM IWMHeaderInfo3}
  3263.   IWMHeaderInfo3 = interface(IWMHeaderInfo2)
  3264.   ['{15CC68E3-27CC-4ecd-B222-3F5D02D80BD5}']
  3265.   (*** IWMHeaderInfo3 methods ***)
  3266.     function GetAttributeCountEx(wStreamNum: Word; out pcAttributes: Word): HRESULT; stdcall;
  3267.  
  3268.     function GetAttributeIndices(wStreamNum: Word; pwszName: PWideChar;
  3269.       pwLangIndex: PWORD; {out} pwIndices: PWORD; var pwCount: Word): HRESULT; stdcall;
  3270.  
  3271.    function GetAttributeByIndexEx(wStreamNum: Word; wIndex: Word; {out} pwszName: PWideChar;
  3272.      var  pwNameLen: Word; out  pType: TWMTAttrDataType; out  pwLangIndex: Word;
  3273.     {out} pValue: PBYTE; var pdwDataLength: LongWord): HRESULT; stdcall;
  3274.  
  3275.     function ModifyAttribute(wStreamNum: Word; wIndex: Word; Type_: TWMTAttrDataType;
  3276.       wLangIndex: Word; pValue: PBYTE; dwLength: LongWord): HRESULT; stdcall;
  3277.  
  3278.     function AddAttribute(wStreamNum: Word; pszName: PWideChar;
  3279.       out pwIndex: Word; Type_: TWMTAttrDataType; wLangIndex: Word;
  3280.       pValue: PBYTE; dwLength: LongWord): HRESULT; stdcall;
  3281.  
  3282.     function DeleteAttribute(wStreamNum, wIndex: Word): HRESULT; stdcall;
  3283.  
  3284.     function AddCodecInfo(pwszName: PWideChar; pwszDescription: PWideChar;
  3285.       codecType: WMT_CODEC_INFO_TYPE; cbCodecInfo: Word;
  3286.       pbCodecInfo: PBYTE): HRESULT; stdcall;
  3287.   end;
  3288.  
  3289. ///////////////////////////////////////////////////////////////////////////////
  3290. //
  3291. // The profile API. The intention is that most users don't touch the profile
  3292. // API, but just use pre-existing profiles.
  3293. //
  3294. // Profiles define authoring configurations, such as stream types, bitrates,
  3295. // etc.
  3296. //
  3297. ///////////////////////////////////////////////////////////////////////////////
  3298.  
  3299.   {$HPPEMIT 'typedef System::DelphiInterface<IWMProfileManager> _di_IWMProfileManager;'}
  3300.   {$EXTERNALSYM IWMProfileManager}
  3301.   IWMProfileManager = interface(IUnknown)
  3302.   ['{d16679f2-6ca0-472d-8d31-2f5d55aee155}']
  3303.   (*** IWMProfileManager methods ***)
  3304.     // Create a profile with nothing in it.
  3305.     function CreateEmptyProfile(dwVersion: WMT_VERSION; out ppProfile: IWMProfile): HRESULT; stdcall;
  3306.  
  3307.     // Load a system profile given its ID.
  3308.     function LoadProfileByID(const guidProfile: TGUID; out ppProfile: IWMProfile): HRESULT; stdcall;
  3309.  
  3310.     // Load a profile from a stored string.
  3311.     function LoadProfileByData(pwszProfile: PWideChar; out ppProfile: IWMProfile): HRESULT; stdcall;
  3312.  
  3313.     // Save profile specified by its string.
  3314.     function SaveProfile(pIWMProfile: IWMProfile; pwszProfile: PWideChar;
  3315.       var pdwLength: LongWord): HRESULT; stdcall;
  3316.  
  3317.     // Iterate through the system profiles.
  3318.     function GetSystemProfileCount(out pcProfiles: LongWord): HRESULT; stdcall;
  3319.  
  3320.     function LoadSystemProfile(dwProfileIndex: LongWord; out ppProfile: IWMProfile): HRESULT; stdcall;
  3321.   end;
  3322.  
  3323.   {$HPPEMIT 'typedef System::DelphiInterface<IWMProfileManager2> _di_IWMProfileManager2;'}
  3324.   {$EXTERNALSYM IWMProfileManager2}
  3325.   IWMProfileManager2 = interface(IWMProfileManager)
  3326.   ['{7A924E51-73C1-494d-8019-23D37ED9B89A}']
  3327.   (*** IWMProfileManager2 methods ***)
  3328.     // Set the version number of the system profiles that the profile manager
  3329.     // will enumerate. WMT_VER_4_0 is the default, for compatibility reasons,
  3330.     // so be sure to set this to the latest version if that is the desired
  3331.     // result.
  3332.     function GetSystemProfileVersion(out pdwVersion: WMT_VERSION): HRESULT; stdcall;
  3333.     function SetSystemProfileVersion(dwVersion: WMT_VERSION): HRESULT; stdcall;
  3334.   end;
  3335.  
  3336.   {$HPPEMIT 'typedef System::DelphiInterface<IWMProfileManagerLanguage> _di_IWMProfileManagerLanguage;'}
  3337.   {$EXTERNALSYM IWMProfileManagerLanguage}
  3338.   IWMProfileManagerLanguage = interface(IUnknown)
  3339.   ['{BA4DCC78-7EE0-4ab8-B27A-DBCE8BC51454}']
  3340.   (*** IWMProfileManagerLanguage methods ***)
  3341.     // Set the language ID that user prefers to use, it must be a valid
  3342.     // LANGID we support and the corresponding localized profile must
  3343.     // present. Or we'll use English as default
  3344.     function GetUserLanguageID(out wLangID: Word): HRESULT; stdcall;
  3345.     function SetUserLanguageID(wLangID: Word): HRESULT; stdcall;
  3346.   end;
  3347.  
  3348.   IWMStreamConfig = interface;
  3349.   IWMMutualExclusion = interface;
  3350.  
  3351.   {$HPPEMIT 'typedef System::DelphiInterface<IWMProfile> _di_IWMProfile;'}
  3352.   {$EXTERNALSYM IWMProfile}
  3353.   IWMProfile = interface(IUnknown)
  3354.   ['{96406BDB-2B2B-11d3-B36B-00C04F6108FF}']
  3355.   (*** IWMProfile methods ***)
  3356.     // By default, when the user creates a profile, it will use the latest
  3357.     // version of Windows Media. To create a backward-compatible profile,
  3358.     // call IWMProfileManager::CreateEmptyProfile with the appropriate version
  3359.     // number.
  3360.     function GetVersion(out pdwVersion: WMT_VERSION): HRESULT; stdcall;
  3361.  
  3362.     // Profiles have names and descriptions, for use when displaying lists
  3363.     // of profiles, etc.
  3364.     function GetName({out} pwszName: PWideChar; var pcchName: LongWord): HRESULT; stdcall;
  3365.     function SetName(pwszName: PWideChar): HRESULT; stdcall;
  3366.  
  3367.     function GetDescription({out} pwszDescription: PWideChar;
  3368.       var pcchDescription: LongWord): HRESULT; stdcall;
  3369.  
  3370.     function SetDescription(pwszDescription: PWideChar): HRESULT; stdcall;
  3371.  
  3372.     // Methods for enumerating the streams. Note that updating the
  3373.     // returned IWMStreamConfig has no effect on the profile until you
  3374.     // call ReconfigStream().
  3375.     function GetStreamCount(out pcStreams: LongWord): HRESULT; stdcall;
  3376.  
  3377.     function GetStream(dwStreamIndex: LongWord; out ppConfig: IWMStreamConfig): HRESULT; stdcall;
  3378.  
  3379.     function GetStreamByNumber(wStreamNum: Word; out ppConfig: IWMStreamConfig): HRESULT; stdcall;
  3380.  
  3381.     // Remove a stream.
  3382.     function RemoveStream(pConfig: IWMStreamConfig): HRESULT; stdcall;
  3383.  
  3384.     function RemoveStreamByNumber(wStreamNum: Word): HRESULT; stdcall;
  3385.  
  3386.     // Adding a stream copies the config into the profile.
  3387.     function AddStream(pConfig: IWMStreamConfig): HRESULT; stdcall;
  3388.  
  3389.     function ReconfigStream(pConfig: IWMStreamConfig): HRESULT; stdcall;
  3390.  
  3391.     // Create a new stream config object (avoiding the need to CoCreate).
  3392.     // This will still need to be added to the profile using the AddStream()
  3393.     // call (but only after it has been configured).
  3394.     function CreateNewStream(const guidStreamType: TGUID;
  3395.       out ppConfig: IWMStreamConfig): HRESULT; stdcall;
  3396.  
  3397.     // Mutual Exclusion. As above, only Add and Remove actual change the
  3398.     // profile.
  3399.     function GetMutualExclusionCount(out pcME: LongWord): HRESULT; stdcall;
  3400.  
  3401.     function GetMutualExclusion(dwMEIndex: LongWord; out ppME: IWMMutualExclusion): HRESULT; stdcall;
  3402.  
  3403.     function RemoveMutualExclusion(pME: IWMMutualExclusion): HRESULT; stdcall;
  3404.  
  3405.     function AddMutualExclusion(pME: IWMMutualExclusion): HRESULT; stdcall;
  3406.  
  3407.     function CreateNewMutualExclusion(out ppME: IWMMutualExclusion): HRESULT; stdcall;
  3408.   end;
  3409.  
  3410.   {$HPPEMIT 'typedef System::DelphiInterface<IWMProfile2> _di_IWMProfile2;'}
  3411.   {$EXTERNALSYM IWMProfile2}
  3412.   IWMProfile2 = interface(IWMProfile)
  3413.   ['{07E72D33-D94E-4be7-8843-60AE5FF7E5F5}']
  3414.   (*** IWMProfile2 methods ***)
  3415.     // Get/set this profile's unique identifier
  3416.     function GetProfileID(out pguidID: TGUID): HRESULT; stdcall;
  3417.   end;
  3418.  
  3419.   IWMBandwidthSharing = interface;
  3420.   IWMStreamPrioritization = interface;
  3421.  
  3422.   {$HPPEMIT 'typedef System::DelphiInterface<IWMProfile3> _di_IWMProfile3;'}
  3423.   {$EXTERNALSYM IWMProfile3}
  3424.   IWMProfile3 = interface(IWMProfile2)
  3425.   ['{00EF96CC-A461-4546-8BCD-C9A28F0E06F5}']
  3426.   (*** IWMProfile3 methods ***)
  3427.     // Get/set the storage format.  These calls have been deprecated.
  3428.     // Query the WM/ContainerFormat attribute instead.
  3429.     //
  3430.     function GetStorageFormat(out pnStorageFormat: TWMTStorageFormat): HRESULT; stdcall;
  3431.  
  3432.     function SetStorageFormat(nStorageFormat: TWMTStorageFormat): HRESULT; stdcall;
  3433.  
  3434.     //
  3435.     // Bandwidth sharing. Only Add and Remove actually change the
  3436.     // profile.
  3437.     //
  3438.     function GetBandwidthSharingCount(out pcBS: LongWord): HRESULT; stdcall;
  3439.  
  3440.     function GetBandwidthSharing(dwBSIndex: LongWord; out ppBS: IWMBandwidthSharing): HRESULT; stdcall;
  3441.  
  3442.     function RemoveBandwidthSharing(pBS: IWMBandwidthSharing): HRESULT; stdcall;
  3443.  
  3444.     function AddBandwidthSharing(pBS: IWMBandwidthSharing): HRESULT; stdcall;
  3445.  
  3446.     function CreateNewBandwidthSharing(out ppBS: IWMBandwidthSharing): HRESULT; stdcall;
  3447.  
  3448.     //
  3449.     // Stream prioritization.  Only Set and Remove actually
  3450.     // change the profile.
  3451.     // Note that there can be at most one such object.
  3452.     //
  3453.     function GetStreamPrioritization(out ppSP: IWMStreamPrioritization): HRESULT; stdcall;
  3454.  
  3455.     function SetStreamPrioritization(pSP: IWMStreamPrioritization): HRESULT; stdcall;
  3456.  
  3457.     function RemoveStreamPrioritization: HRESULT; stdcall;
  3458.  
  3459.     function CreateNewStreamPrioritization(out ppSP: IWMStreamPrioritization): HRESULT; stdcall;
  3460.  
  3461.     //
  3462.     // Get information about how the muxing will be done
  3463.     //
  3464.     function GetExpectedPacketCount(msDuration: Int64; out pcPackets: Int64): HRESULT; stdcall;
  3465.   end;
  3466.  
  3467. //
  3468. // IWMStreamConfig represents an ASF stream.
  3469. //
  3470.   {$HPPEMIT 'typedef System::DelphiInterface<IWMStreamConfig> _di_IWMStreamConfig;'}
  3471.   {$EXTERNALSYM IWMStreamConfig}
  3472.   IWMStreamConfig = interface(IUnknown)
  3473.   ['{96406BDC-2B2B-11d3-B36B-00C04F6108FF}']
  3474.   (*** IWMStreamConfig methods ***)
  3475.     // This interface QI's for IWMMediaProps and one of it's inheritors.
  3476.     // (IWMVideoMediaProps, for instance).
  3477.     function GetStreamType(out pguidStreamType: TGUID): HRESULT; stdcall;
  3478.     function GetStreamNumber(out pwStreamNum: Word): HRESULT; stdcall;
  3479.     function SetStreamNumber(wStreamNum: Word): HRESULT; stdcall;
  3480.     function GetStreamName({out} pwszStreamName: PWideChar; var pcchStreamName: Word): HRESULT; stdcall;
  3481.     function SetStreamName(pwszStreamName: PWideChar): HRESULT; stdcall;
  3482.     function GetConnectionName({out} pwszInputName: PWideChar; var pcchInputName: Word): HRESULT; stdcall;
  3483.     function SetConnectionName(pwszInputName: PWideChar): HRESULT; stdcall;
  3484.     function GetBitrate(out pdwBitrate: LongWord): HRESULT; stdcall;
  3485.     function SetBitrate(pdwBitrate: LongWord): HRESULT; stdcall;
  3486.  
  3487.     //
  3488.     // A buffer window of -1 (0xffffffff) indicates that the buffer window
  3489.     // is unknown. On the writer side, this means the writer can use whatever
  3490.     // buffer window it chooses.
  3491.     //
  3492.     function GetBufferWindow(out pmsBufferWindow: LongWord): HRESULT; stdcall;
  3493.     function SetBufferWindow(msBufferWindow: LongWord): HRESULT; stdcall;
  3494.   end;
  3495.  
  3496.   {$HPPEMIT 'typedef System::DelphiInterface<IWMStreamConfig2> _di_IWMStreamConfig2;'}
  3497.   {$EXTERNALSYM IWMStreamConfig2}
  3498.   IWMStreamConfig2 = interface(IWMStreamConfig)
  3499.   ['{7688D8CB-FC0D-43BD-9459-5A8DEC200CFA}']
  3500.   (*** IWMStreamConfig2 methods ***)
  3501.     // Get/set the type of data communication protocol (reliable or unreliable)
  3502.     function GetTransportType (out pnTransportType: TWMTTransportType): HRESULT; stdcall;
  3503.  
  3504.     function SetTransportType(nTransportType: TWMTTransportType): HRESULT; stdcall;
  3505.  
  3506.     //
  3507.     // Add/Get data unit extension systems (for attaching user-defined
  3508.     // data to samples in the output file)
  3509.     //
  3510.     function AddDataUnitExtension(const guidExtensionSystemID: TGUID;
  3511.       cbExtensionDataSize: Word; pbExtensionSystemInfo: PBYTE;
  3512.       cbExtensionSystemInfo: LongWord): HRESULT; stdcall;
  3513.  
  3514.     function GetDataUnitExtensionCount(out pcDataUnitExtensions: Word): HRESULT; stdcall;
  3515.  
  3516.     function GetDataUnitExtension(wDataUnitExtensionNumber: Word;
  3517.       out pguidExtensionSystemID: TGUID; out pcbExtensionDataSize: Word;
  3518.       {out} pbExtensionSystemInfo: PBYTE; var pcbExtensionSystemInfo: LongWord): HRESULT; stdcall;
  3519.  
  3520.     function RemoveAllDataUnitExtensions: HRESULT; stdcall;
  3521.   end;
  3522.  
  3523.   {$HPPEMIT 'typedef System::DelphiInterface<IWMStreamConfig3> _di_IWMStreamConfig3;'}
  3524.   {$EXTERNALSYM IWMStreamConfig3}
  3525.   IWMStreamConfig3 = interface(IWMStreamConfig2)
  3526.   ['{CB164104-3AA9-45a7-9AC9-4DAEE131D6E1}']
  3527.   (*** IWMStreamConfig3 methods ***)
  3528.     // Get/set language info for this stream as an RFC1766 string.
  3529.     function GetLanguage({out} pwszLanguageString: PWideChar; var pcchLanguageStringLength: Word): HRESULT; stdcall;
  3530.     function SetLanguage(pwszLanguageString: PWideChar): HRESULT; stdcall;
  3531.   end;
  3532.  
  3533.   // Controls how big packets can get in an ASF file.
  3534.   {$HPPEMIT 'typedef System::DelphiInterface<IWMPacketSize> _di_IWMPacketSize;'}
  3535.   {$EXTERNALSYM IWMPacketSize}
  3536.   IWMPacketSize = interface(IUnknown)
  3537.   ['{CDFB97AB-188F-40b3-B643-5B7903975C59}']
  3538.   (*** IWMPacketSize methods ***)
  3539.     function GetMaxPacketSize(out pdwMaxPacketSize: LongWord): HRESULT; stdcall;
  3540.     function SetMaxPacketSize(dwMaxPacketSize: LongWord): HRESULT; stdcall;
  3541.   end;
  3542.  
  3543.   // Controls how small packets can get in an ASF file.
  3544.   {$HPPEMIT 'typedef System::DelphiInterface<IWMPacketSize2> _di_IWMPacketSize2;'}
  3545.   {$EXTERNALSYM IWMPacketSize2}
  3546.   IWMPacketSize2 = interface(IWMPacketSize)
  3547.   ['{8BFC2B9E-B646-4233-A877-1C6A079669DC}']
  3548.   (*** IWMPacketSize2 methods ***)
  3549.     function GetMinPacketSize(out pdwMinPacketSize: LongWord): HRESULT; stdcall;
  3550.     function SetMinPacketSize(dwMinPacketSize: LongWord): HRESULT; stdcall;
  3551.   end;
  3552.  
  3553.   // IWMStreamList is used for the various objects that define relationships
  3554.   // between streams.
  3555.   {$HPPEMIT 'typedef System::DelphiInterface<IWMStreamList> _di_IWMStreamList;'}
  3556.   {$EXTERNALSYM IWMStreamList}
  3557.   IWMStreamList = interface(IUnknown)
  3558.   ['{96406BDD-2B2B-11d3-B36B-00C04F6108FF}']
  3559.   (*** IWMStreamList methods ***)
  3560.     function GetStreams({out} pwStreamNumArray: PWORD; var pcStreams: PWORD): HRESULT; stdcall;
  3561.     function AddStream(wStreamNum: Word): HRESULT; stdcall;
  3562.     function RemoveStream(wStreamNum: Word): HRESULT; stdcall;
  3563.   end;
  3564.  
  3565.   // IWMMutualExclusion specifies a group of streams, of which only one can
  3566.   // be played at once. These are used to do MEB (stream selection based on
  3567.   // bandwidth).
  3568.   {$HPPEMIT 'typedef System::DelphiInterface<IWMMutualExclusion> _di_IWMMutualExclusion;'}
  3569.   {$EXTERNALSYM IWMMutualExclusion}
  3570.   IWMMutualExclusion = interface(IWMStreamList)
  3571.   ['{96406BDE-2B2B-11d3-B36B-00C04F6108FF}']
  3572.   (*** IWMMutualExclusion methods ***)
  3573.     // The possible types of mutual exclusion are defined in the ASF
  3574.     // header.
  3575.     function GetType(out pguidType: TGUID): HRESULT; stdcall;
  3576.     function SetType(guidType: TGUID): HRESULT; stdcall;
  3577.   end;
  3578.  
  3579.   // IWMMutualExclusion2 extends IWMMutualExclusion to incorporate more advanced
  3580.   // mutual exclusion concepts.
  3581.   //
  3582.   {$HPPEMIT 'typedef System::DelphiInterface<IWMMutualExclusion2> _di_IWMMutualExclusion2;'}
  3583.   {$EXTERNALSYM IWMMutualExclusion2}
  3584.   IWMMutualExclusion2 = interface(IWMMutualExclusion)
  3585.   ['{0302B57D-89D1-4ba2-85C9-166F2C53EB91}']
  3586.   (*** IWMMutualExclusion2 methods ***)
  3587.     // Methods to get and set the name of the mutual exclusion.
  3588.     function GetName({out} pwszName: PWideChar; var pcchName: Word): HRESULT; stdcall;
  3589.     function SetName(pwszName: PWideChar): HRESULT; stdcall;
  3590.  
  3591.     // Methods to query and manipulate the records in the object.
  3592.     function GetRecordCount(out pwRecordCount: Word): HRESULT; stdcall;
  3593.     function AddRecord: HRESULT; stdcall;
  3594.     function RemoveRecord(wRecordNumber: Word ): HRESULT; stdcall;
  3595.  
  3596.     // Methods to get and set the name associated with a record.
  3597.     function GetRecordName(wRecordNumber: Word; {out} pwszRecordName: PWideChar;
  3598.       var pcchRecordName: Word): HRESULT; stdcall;
  3599.     function SetRecordName(wRecordNumber: Word; pwszRecordName: PWideChar): HRESULT; stdcall;
  3600.  
  3601.     // Methods to get and set the streams in a record.
  3602.     function GetStreamsForRecord(wRecordNumber: Word; {out} pwStreamNumArray: PWORD;
  3603.       var pcStreams: Word): HRESULT; stdcall;
  3604.     function AddStreamForRecord(wRecordNumber, wStreamNumber: Word): HRESULT; stdcall;
  3605.     function RemoveStreamForRecord(wRecordNumber, wStreamNumber: Word): HRESULT; stdcall;
  3606.   end;
  3607.  
  3608.   // IWMBandwidthSharing specifies a group of streams whose combined bitrate
  3609.   // and buffer size are not to exceed the parameters given to this interface,
  3610.   // even though the sum of their individual bitrates may be more.
  3611.   {$HPPEMIT 'typedef System::DelphiInterface<IWMBandwidthSharing> _di_IWMBandwidthSharing;'}
  3612.   {$EXTERNALSYM IWMBandwidthSharing}
  3613.   IWMBandwidthSharing = interface(IWMStreamList)
  3614.   ['{AD694AF1-F8D9-42F8-BC47-70311B0C4F9E}']
  3615.   (*** IWMBandwidthSharing methods ***)
  3616.     // The possible types of bandwidth are defined in the ASF
  3617.     // header.
  3618.     function GetType(out pguidType: TGUID): HRESULT; stdcall;
  3619.     function SetType(const guidType: TGUID): HRESULT; stdcall;
  3620.  
  3621.     // Methods to get and set properties of the combined streams.
  3622.     // Buffer windows are given in milliseconds
  3623.     function GetBandwidth(out pdwBitrate, pmsBufferWindow: LongWord): HRESULT; stdcall;
  3624.     function SetBandwidth(dwBitrate, msBufferWindow: LongWord): HRESULT; stdcall;
  3625.   end;
  3626.  
  3627.   // IWMStreamPrioritization specifies the author's intentions as to which
  3628.   // streams should or should not be dropped in response to various network
  3629.   // congestion situations.
  3630.   {$HPPEMIT 'typedef System::DelphiInterface<IWMStreamPrioritization> _di_IWMStreamPrioritization;'}
  3631.   {$EXTERNALSYM IWMStreamPrioritization}
  3632.   IWMStreamPrioritization = interface(IUnknown)
  3633.     ['{8C1C6090-F9A8-4748-8EC3-DD1108BA1E77}']
  3634.     (*** IWMStreamPrioritization methods ***)
  3635.     // Records in a stream prioritization object are given in order of
  3636.     // decreasing priority
  3637.     function GetPriorityRecords({out} pRecordArray: PWMStreamPrioritizationRecord; var cRecords: Word): HResult; stdcall;
  3638.     function SetPriorityRecords(pRecordArray: PWMStreamPrioritizationRecord; cRecords: Word): HResult; stdcall;
  3639.   end;
  3640.  
  3641. ///////////////////////////////////////////////////////////////////////////////
  3642. //
  3643. // Advanced features.
  3644. //
  3645. ///////////////////////////////////////////////////////////////////////////////
  3646.  
  3647.   IWMWriterSink = interface;
  3648.  
  3649.   // The writer can be QI'd for this interface, which provides advanced writing
  3650.   // functionality.
  3651.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterAdvanced> _di_IWMWriterAdvanced;'}
  3652.   {$EXTERNALSYM IWMWriterAdvanced}
  3653.   IWMWriterAdvanced = interface(IUnknown)
  3654.     ['{96406BE3-2B2B-11D3-B36B-00C04F6108FF}']
  3655.     (*** IWMWriterAdvanced methods ***)
  3656.     // Sinks are where the output ASF data goes.
  3657.     function GetSinkCount(out pcSinks: LongWord): HResult; stdcall;
  3658.     function GetSink(dwSinkNum: LongWord; out ppSink: IWMWriterSink): HResult; stdcall;
  3659.     function AddSink(pSink: IWMWriterSink): HResult; stdcall;
  3660.     function RemoveSink(pSink: IWMWriterSink): HResult; stdcall;
  3661.     // By default, the user provides samples to an input on the
  3662.     // IWMWriter interface, and the samples may be compressed, put
  3663.     // into a MEB stream, etc. However, the user can use this interface to
  3664.     // put the samples directly into the ASF, with no compression etc.
  3665.     function WriteStreamSample(wStreamNum: Word; cnsSampleTime: Int64;
  3666.                                msSampleSendTime: LongWord; cnsSampleDuration: Int64;
  3667.                                dwFlags: LongWord; pSample: INSSBuffer): HResult; stdcall;
  3668.     // The writer may be running in real-time. If so, it's interesting to
  3669.     // get the current time from the writer.
  3670.     function SetLiveSource(fIsLiveSource: BOOL): HResult; stdcall;
  3671.     function IsRealTime(out pfRealTime: BOOL): HResult; stdcall;
  3672.     function GetWriterTime(out pcnsCurrentTime: Int64): HResult; stdcall;
  3673.     // To get statistics, pass in a WM_WRITER_STATISTICS structure, which
  3674.     // will be filled out by the GetStatistics() call with the requested
  3675.     // stats.
  3676.     //
  3677.     // Pass in a stream number to get statistics for a specific stream, or
  3678.     // pass 0 to get statistics for the entire ASF file.
  3679.     function GetStatistics(wStreamNum: Word; out pStats: TWMWriterStatistics): HResult; stdcall;
  3680.     // Sync tolerance determines how far out of sync the inputs will be allowed
  3681.     // to get before samples are thrown away.  Default is 3000 ms.
  3682.     function SetSyncTolerance(msWindow: LongWord): HResult; stdcall;
  3683.     function GetSyncTolerance(out pmsWindow: LongWord): HResult; stdcall;
  3684.   end;
  3685.  
  3686.   // The writer can be QI'd for this interface, which provides advanced writing
  3687.   // functionality.
  3688.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterAdvanced2> _di_IWMWriterAdvanced2;'}
  3689.   {$EXTERNALSYM IWMWriterAdvanced2}
  3690.   IWMWriterAdvanced2 = interface(IWMWriterAdvanced)
  3691.     ['{962DC1EC-C046-4DB8-9CC7-26CEAE500817}']
  3692.     (*** IWMWriterAdvanced2 methods ***)
  3693.     // Retrieves a setting for a particular output by name
  3694.     function GetInputSetting(dwInputNum: LongWord; pszName: PWideChar;
  3695.        out pType: TWMTAttrDataType; {out} pValue: PByte; var pcbLength: Word): HResult; stdcall;
  3696.     // Sets a named setting for a particular input
  3697.     function SetInputSetting(dwInputNum: LongWord; pszName: PWideChar; Type_: TWMTAttrDataType;
  3698.       pValue: PByte; cbLength: Word): HResult; stdcall;
  3699.   end;
  3700.  
  3701.   // The writer can be QI'd for this interface, which provides advanced writing
  3702.   // functionality.
  3703.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterAdvanced3> _di_IWMWriterAdvanced3;'}
  3704.   {$EXTERNALSYM IWMWriterAdvanced3}
  3705.   IWMWriterAdvanced3 = interface(IWMWriterAdvanced2)
  3706.     ['{2CD6492D-7C37-4E76-9D3B-59261183A22E}']
  3707.     (*** IWMWriterAdvanced3 methods ***)
  3708.     // To get extended statistics, pass in a WM_WRITER_STATISTICS_EX structure, which
  3709.     // will be filled out by the GetStatisticsEx() call with the requested
  3710.     // stats.
  3711.     //
  3712.     // Pass in a stream number to get extended statistics for a specific stream, or
  3713.     // pass 0 to get extended statistics for the entire ASF file.
  3714.     function GetStatisticsEx(wStreamNum: Word; out pStats: TWMWriterStatisticsEx): HResult; stdcall;
  3715.     function SetNonBlocking: HResult; stdcall;
  3716.   end;
  3717.  
  3718.   // The writer can be QI'd for this interface, which provides multi-pass
  3719.   // encoding functionality.
  3720.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterPreprocess> _di_IWMWriterPreprocess;'}
  3721.   {$EXTERNALSYM IWMWriterPreprocess}
  3722.   IWMWriterPreprocess = interface(IUnknown)
  3723.     ['{FC54A285-38C4-45B5-AA23-85B9F7CB424B}']
  3724.     (*** IWMWriterPreprocess methods ***)
  3725.     function GetMaxPreprocessingPasses(dwInputNum: LongWord; dwFlags: LongWord;
  3726.       out pdwMaxNumPasses: LongWord): HResult; stdcall;
  3727.     function SetNumPreprocessingPasses(dwInputNum: LongWord; dwFlags: LongWord;
  3728.       dwNumPasses: LongWord): HResult; stdcall;
  3729.     function BeginPreprocessingPass(dwInputNum: LongWord; dwFlags: LongWord): HResult; stdcall;
  3730.     function PreprocessSample(dwInputNum: LongWord; cnsSampleTime: Int64; dwFlags: LongWord;
  3731.       pSample: INSSBuffer): HResult; stdcall;
  3732.     function EndPreprocessingPass(dwInputNum: LongWord; dwFlags: LongWord): HResult; stdcall;
  3733.   end;
  3734.  
  3735.   // This is the interface that receives uncompressed samples from the writer
  3736.   // to preview (well, postview) what the codec is doing.
  3737.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterPostViewCallback> _di_IWMWriterPostViewCallback;'}
  3738.   {$EXTERNALSYM IWMWriterPostViewCallback}
  3739.   IWMWriterPostViewCallback = interface(IWMStatusCallback)
  3740.     ['{D9D6549D-A193-4F24-B308-03123D9B7F8D}']
  3741.     (*** IWMWriterPostViewCallback methods ***)
  3742.     // cnsSampleDuration will be 0 for most media types.
  3743.     function OnPostViewSample(wStreamNumber: Word; cnsSampleTime: Int64;
  3744.                               cnsSampleDuration: Int64; dwFlags: LongWord;
  3745.                               pSample: INSSBuffer; pvContext: Pointer): HResult; stdcall;
  3746.     function AllocateForPostView(wStreamNum: Word; cbBuffer: LongWord; out ppBuffer: INSSBuffer;
  3747.                                  pvContext: Pointer): HResult; stdcall;
  3748.   end;
  3749.  
  3750.   // The writer can be QI'd for this interface, which provides advanced writing
  3751.   // functionality.
  3752.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterPostView> _di_IWMWriterPostView;'}
  3753.   {$EXTERNALSYM IWMWriterPostView}
  3754.   IWMWriterPostView = interface(IUnknown)
  3755.     ['{81E20CE4-75EF-491A-8004-FC53C45BDC3E}']
  3756.     (*** IWMWriterPostView methods ***)
  3757.     // Specify the callback to use for PostView
  3758.     function SetPostViewCallback(pCallback: IWMWriterPostViewCallback; pvContext: Pointer): HResult; stdcall;
  3759.     // Turns on delivery of postview samples for a given stream
  3760.     function SetReceivePostViewSamples(wStreamNum: Word; fReceivePostViewSamples: BOOL): HResult; stdcall;
  3761.     function GetReceivePostViewSamples(wStreamNum: Word; out pfReceivePostViewSamples: BOOL): HResult; stdcall;
  3762.     // The user can enumerate through the various outputs, and get the
  3763.     // output format for that data.
  3764.     //
  3765.     // Manipulating the IWMOutputMediaProps has no effect on the output, unless
  3766.     // the user also calls SetOutputProps.
  3767.     function GetPostViewProps(wStreamNumber: Word; out ppOutput: IWMMediaProps): HResult; stdcall;
  3768.     function SetPostViewProps(wStreamNumber: Word; pOutput: IWMMediaProps): HResult; stdcall;
  3769.     // Used for determining all possible format types supported by this
  3770.     // output on the reader.
  3771.     function GetPostViewFormatCount(wStreamNumber: Word; out pcFormats: LongWord): HResult; stdcall;
  3772.     function GetPostViewFormat(wStreamNumber: Word; dwFormatNumber: LongWord;
  3773.                                out ppProps: IWMMediaProps): HResult; stdcall;
  3774.     // The user can register himself to provide buffers for any of the outputs
  3775.     // (for instance, DDraw buffers). The actual allocation is on the
  3776.     // IWMReaderCallbackAdvanced interface.
  3777.     function SetAllocateForPostView(wStreamNumber: Word; fAllocate: BOOL): HResult; stdcall;
  3778.     function GetAllocateForPostView(wStreamNumber: Word; out pfAllocate: BOOL): HResult; stdcall;
  3779.   end;
  3780.  
  3781.   // This is the interface that receives raw ASF from the writer.
  3782.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterSink> _di_IWMWriterSink;'}
  3783.   {$EXTERNALSYM IWMWriterSink}
  3784.   IWMWriterSink = interface(IUnknown)
  3785.     ['{96406BE4-2B2B-11D3-B36B-00C04F6108FF}']
  3786.     (*** IWMWriterSink methods ***)
  3787.     function OnHeader(pHeader: INSSBuffer): HResult; stdcall;
  3788.     // Some sinks require that data be fed to them in real-time.
  3789.     function IsRealTime(out pfRealTime: BOOL): HResult; stdcall;
  3790.     function AllocateDataUnit(cbDataUnit: LongWord; out ppDataUnit: INSSBuffer): HResult; stdcall;
  3791.     function OnDataUnit(pDataUnit: INSSBuffer): HResult; stdcall;
  3792.     // This function is called when the writer is done sending data.
  3793.     function OnEndWriting: HResult; stdcall;
  3794.   end;
  3795.  
  3796.   {$HPPEMIT 'typedef System::DelphiInterface<IWMRegisterCallback> _di_IWMRegisterCallback;'}
  3797.   {$EXTERNALSYM IWMRegisterCallback}
  3798.   IWMRegisterCallback = interface(IUnknown)
  3799.     ['{CF4B1F99-4DE2-4E49-A363-252740D99BC1}']
  3800.     (*** IWMRegisterCallback methods ***)
  3801.     function Advise(pCallback: IWMStatusCallback; pvContext: Pointer): HResult; stdcall;
  3802.     function Unadvise(pCallback: IWMStatusCallback; pvContext: Pointer): HResult; stdcall;
  3803.   end;
  3804.  
  3805.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterFileSink> _di_IWMWriterFileSink;'}
  3806.   {$EXTERNALSYM IWMWriterFileSink}
  3807.   IWMWriterFileSink = interface(IWMWriterSink)
  3808.     ['{96406BE5-2B2B-11D3-B36B-00C04F6108FF}']
  3809.     (*** IWMWriterFileSink methods ***)
  3810.     function Open(pwszFilename: PWideChar): HResult; stdcall;
  3811.   end;
  3812.  
  3813.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterFileSink2> _di_IWMWriterFileSink2;'}
  3814.   {$EXTERNALSYM IWMWriterFileSink2}
  3815.   IWMWriterFileSink2 = interface(IWMWriterFileSink)
  3816.     ['{14282BA7-4AEF-4205-8CE5-C229035A05BC}']
  3817.     (*** IWMWriterFileSink2 methods ***)
  3818.     function Start(cnsStartTime: Int64): HResult; stdcall;
  3819.     function Stop(cnsStopTime: Int64): HResult; stdcall;
  3820.     function IsStopped(out pfStopped: BOOL): HResult; stdcall;
  3821.     function GetFileDuration(out pcnsDuration: Int64): HResult; stdcall;
  3822.     function GetFileSize(out pcbFile: Int64): HResult; stdcall;
  3823.     function Close: HResult; stdcall;
  3824.     function IsClosed(out pfClosed: BOOL): HResult; stdcall;
  3825.   end;
  3826.  
  3827.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterFileSink3> _di_IWMWriterFileSink3;'}
  3828.   {$EXTERNALSYM IWMWriterFileSink3}
  3829.   IWMWriterFileSink3 = interface(IWMWriterFileSink2)
  3830.     ['{3FEA4FEB-2945-47A7-A1DD-C53A8FC4C45C}']
  3831.     (*** IWMWriterFileSink3 methods ***)
  3832.     function SetAutoIndexing(fDoAutoIndexing: BOOL): HResult; stdcall;
  3833.     function GetAutoIndexing(out pfAutoIndexing: BOOL): HResult; stdcall;
  3834.     function SetControlStream(wStreamNumber: Word; fShouldControlStartAndStop: BOOL): HResult; stdcall;
  3835.     function GetMode(out pdwFileSinkMode: LongWord): HResult; stdcall;
  3836.     function OnDataUnitEx(pFileSinkDataUnit: PWMTFileSinkDataUnit): HResult; stdcall;
  3837.     function SetUnbufferedIO(fUnbufferedIO: BOOL; fRestrictMemUsage: BOOL): HResult; stdcall;
  3838.     function GetUnbufferedIO(out pfUnbufferedIO: BOOL): HResult; stdcall;
  3839.     function CompleteOperations: HResult; stdcall;
  3840.   end;
  3841.  
  3842.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterNetworkSink> _di_IWMWriterNetworkSink;'}
  3843.   {$EXTERNALSYM IWMWriterNetworkSink}
  3844.   IWMWriterNetworkSink = interface(IWMWriterSink)
  3845.     ['{96406BE7-2B2B-11D3-B36B-00C04F6108FF}']
  3846.     (*** IWMWriterNetworkSink methods ***)
  3847.     // Determine the maximum number of clients that can connect to this sink.
  3848.     // Default is 5.
  3849.     function SetMaximumClients(dwMaxClients: LongWord): HResult; stdcall;
  3850.     function GetMaximumClients(out pdwMaxClients: LongWord): HResult; stdcall;
  3851.     // The network protocol that the network sink will use.
  3852.     function SetNetworkProtocol(protocol: TWMTNetProtocol): HResult; stdcall;
  3853.     function GetNetworkProtocol(out pProtocol: TWMTNetProtocol): HResult; stdcall;
  3854.     // Find out the name of the URL on which we're broadcasting
  3855.     function GetHostURL({out} pwszURL: PWideChar; var pcchURL: LongWord): HResult; stdcall;
  3856.     // The method claims the network port number. Close the sink to release
  3857.     // the port.
  3858.     //
  3859.     // Specify 0 for the port number and the sink will select a port for
  3860.     // the user.
  3861.     function Open(var pdwPortNum: LongWord): HResult; stdcall;
  3862.     // Disconnect all connected clients.
  3863.     function Disconnect: HResult; stdcall;
  3864.     // Close and release the open port.
  3865.     function Close: HResult; stdcall;
  3866.   end;
  3867.  
  3868.   {$HPPEMIT 'typedef System::DelphiInterface<IWMClientConnections> _di_IWMClientConnections;'}
  3869.   {$EXTERNALSYM IWMClientConnections}
  3870.   IWMClientConnections = interface(IUnknown)
  3871.     ['{73C66010-A299-41DF-B1F0-CCF03B09C1C6}']
  3872.     (*** IWMClientConnections methods ***)
  3873.     // Determine the number of connected clients
  3874.     function GetClientCount(out pcClients: LongWord): HResult; stdcall;
  3875.     // Get information about a connected client
  3876.     function GetClientProperties(dwClientNum: LongWord; out pClientProperties: TWMClientProperties): HResult; stdcall;
  3877.   end;
  3878.  
  3879.   {$HPPEMIT 'typedef System::DelphiInterface<IWMClientConnections2> _di_IWMClientConnections2;'}
  3880.   {$EXTERNALSYM IWMClientConnections2}
  3881.   IWMClientConnections2 = interface(IWMClientConnections)
  3882.     ['{4091571E-4701-4593-BB3D-D5F5F0C74246}']
  3883.     (*** IWMClientConnections2 methods ***)
  3884.     // Get information about a connected client
  3885.     function GetClientInfo(dwClientNum: LongWord; {out} pwszNetworkAddress: PWideChar;
  3886.       var pcchNetworkAddress: LongWord; {out} pwszPort: PWideChar;
  3887.       var pcchPort: LongWord; {out} pwszDNSName: PWideChar;
  3888.       var pcchDNSName: LongWord): HResult; stdcall;
  3889.   end;
  3890.  
  3891. // The reader can be QI'd for this interface for advanced functionality.
  3892.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAdvanced> _di_IWMReaderAdvanced;'}
  3893.   {$EXTERNALSYM IWMReaderAdvanced}
  3894.   IWMReaderAdvanced = interface(IUnknown)
  3895.     ['{96406BEA-2B2B-11D3-B36B-00C04F6108FF}']
  3896.     (*** IWMReaderAdvanced methods ***)
  3897.     // The user may want to drive the clock himself, particularly if he wants
  3898.     // to source from a file faster-than-realtime. This call may fail if the
  3899.     // current source does not support user-driven clocks.
  3900.     //
  3901.     // The proper way for a user to drive the clock is for the user to call
  3902.     // DeliverTime, and then wait for the OnTime call on
  3903.     // IWMReaderCallbackAdvanced to reach the time he specified.
  3904.     function SetUserProvidedClock(fUserClock: BOOL): HResult; stdcall;
  3905.     function GetUserProvidedClock(out pfUserClock: BOOL): HResult; stdcall;
  3906.     function DeliverTime(cnsTime: Int64): HResult; stdcall;
  3907.     // The user can select streams manually, instead of relying on the
  3908.     // automatic bandwidth stream selection that the reader will
  3909.     // normally do. To figure out what streams are in this ASF and what their
  3910.     // numbers are, QI for IWMProfile.
  3911.     //
  3912.     // When SetManualStreamSelection( TRUE ) is called, all streams are
  3913.     // selected by default.
  3914.     function SetManualStreamSelection(fSelection: BOOL): HResult; stdcall;
  3915.     function GetManualStreamSelection(out pfSelection: BOOL): HResult; stdcall;
  3916.     function SetStreamsSelected(cStreamCount: Word; pwStreamNumbers: PWord;
  3917.                                 pSelections: PWMTStreamSelection): HResult; stdcall;
  3918.     function GetStreamSelected(wStreamNum: Word; out pSelection: TWMTStreamSelection): HResult; stdcall;
  3919.     // The user can also choose to get callbacks when automatic stream
  3920.     // selection occurs.
  3921.     function SetReceiveSelectionCallbacks(fGetCallbacks: BOOL): HResult; stdcall;
  3922.     function GetReceiveSelectionCallbacks(out pfGetCallbacks: BOOL): HResult; stdcall;
  3923.     // The user can register himself to receive samples directly from the
  3924.     // ASF streams, rather than letting the Reader decompress them. Note that
  3925.     // to do this, the IWMReaderCallback (supplied by the user) must support
  3926.     // IWMReaderCallbackAdvanced.
  3927.     //
  3928.     // To get actual information about the contents of a stream, QI the
  3929.     // object for IWMProfile.
  3930.     function SetReceiveStreamSamples(wStreamNum: Word; fReceiveStreamSamples: BOOL): HResult; stdcall;
  3931.     function GetReceiveStreamSamples(wStreamNum: Word; out pfReceiveStreamSamples: BOOL): HResult; stdcall;
  3932.     // The user can register himself to provide buffers for any of the outputs
  3933.     // (for instance, DDraw buffers). The actual allocation is on the
  3934.     // IWMReaderCallbackAdvanced interface.
  3935.     function SetAllocateForOutput(dwOutputNum: LongWord; fAllocate: BOOL): HResult; stdcall;
  3936.     function GetAllocateForOutput(dwOutputNum: LongWord; out pfAllocate: BOOL): HResult; stdcall;
  3937.     function SetAllocateForStream(wStreamNum: Word; fAllocate: BOOL): HResult; stdcall;
  3938.     function GetAllocateForStream(dwSreamNum: Word; out pfAllocate: BOOL): HResult; stdcall;
  3939.     // Get statistics on demand
  3940.     function GetStatistics(var pStatistics: TWMReaderStatistics): HResult; stdcall;
  3941.     // Set client side information used for logging
  3942.     function SetClientInfo(pClientInfo: PWMReaderClientInfo): HResult; stdcall;
  3943.     // Get the maximum required buffer sizes that the SDK will allocate.
  3944.     // The first is for output buffers, the second for stream buffers.
  3945.     function GetMaxOutputSampleSize(dwOutput: LongWord; out pcbMax: LongWord): HResult; stdcall;
  3946.     function GetMaxStreamSampleSize(wStream: Word; out pcbMax: LongWord): HResult; stdcall;
  3947.     // Used to notify the reader that it's delivering data
  3948.     // too slowly to the client.  The reader will try to speed
  3949.     // up.
  3950.     function NotifyLateDelivery(cnsLateness: Int64): HResult; stdcall;
  3951.   end;
  3952.  
  3953.   // The reader can be QI'd for this interface for advanced functionality.
  3954.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAdvanced2> _di_IWMReaderAdvanced2;'}
  3955.   {$EXTERNALSYM IWMReaderAdvanced2}
  3956.   IWMReaderAdvanced2 = interface(IWMReaderAdvanced)
  3957.     ['{AE14A945-B90C-4D0D-9127-80D665F7D73E}']
  3958.     (*** IWMReaderAdvanced2 methods ***)
  3959.     // Set the play mode to WMT_PLAY_MODE_AUTOSELECT to allow the reader
  3960.     // to pick the mode. (This is the default). If you select a play mode that
  3961.     // is impossible for the requested URL, an error will be returned when
  3962.     // the URL is opened.
  3963.     function SetPlayMode(Mode: TWMTPlayMode): HResult; stdcall;
  3964.     // Get the current play mode.
  3965.     function GetPlayMode(out pMode: TWMTPlayMode): HResult; stdcall;
  3966.     // Between WMT_BUFFERING_START and WMT_BUFFERING_STOP this call will
  3967.     // return progress values. pdwPercent returns the percentage of buffering
  3968.     // that has completed, and pcnsBuffering returns the amount of buffering
  3969.     // remaining.
  3970.     function GetBufferProgress(out pdwPercent: LongWord; out pcnsBuffering: Int64): HResult; stdcall;
  3971.     // When the play mode is WMT_PLAY_MODE_DOWNLOAD, this call will return
  3972.     // progress values. pdwPercent returns the percentage of the download
  3973.     // that has completed, pqwBytesDownloaded returns the number of bytes
  3974.     // that have been downloaded, and pcnsDownload returns the amount of
  3975.     // downloading remaining.
  3976.     function GetDownloadProgress(out pdwPercent: LongWord; out pqwBytesDownloaded: Int64;
  3977.                                  out pcnsDownload: Int64): HResult; stdcall;
  3978.     // When saving a file, the operation may take awhile. Between
  3979.     // WMT_SAVEAS_START and WMT_SAVEAS_STOP, this call will return progress
  3980.     // values. pdwPercent returns the percentage of the save as that has
  3981.     // completed.
  3982.     function GetSaveAsProgress(out pdwPercent: LongWord): HResult; stdcall;
  3983.     // Save the current file. This only works for WMT_PLAY_MODE_DOWNLOAD.
  3984.     // This operation is asynchronous; WMT_SAVEAS_STOP indicates that the
  3985.     // save has completed. Closing the reader will abort a save operation
  3986.     // that has not completed.
  3987.     function SaveFileAs(pwszFilename: PWideChar): HResult; stdcall;
  3988.     // Returns the name of the protocol that is currently being used.
  3989.     // The protocol name is a URL scheme, such as "mmsu", "http", "file", etc.
  3990.     // Note, however, that the protocol name may differ from the URL scheme
  3991.     // that was specified in IWMReader::Open().
  3992.     // This method may return an empty string if the protocol name cannot be determined.
  3993.     function GetProtocolName({out} pwszProtocol: PWideChar; var pcchProtocol: LongWord): HResult; stdcall;
  3994.     // Same as IWMReader::Start, but uses a marker index instead of a time value.
  3995.     function StartAtMarker(wMarkerIndex: Word; cnsDuration: Int64; fRate: Single;
  3996.                            pvContext: Pointer): HResult; stdcall;
  3997.     // Retrieves a setting for a particular output by name
  3998.     function GetOutputSetting(dwOutputNum: LongWord; pszName: PWideChar;
  3999.                               out pType: TWMTAttrDataType; {out} pValue: PByte; var pcbLength: Word): HResult; stdcall;
  4000.     // Sets a named setting for a particular output
  4001.     function SetOutputSetting(dwOutputNum: LongWord; pszName: PWideChar; Type_: TWMTAttrDataType;
  4002.                               pValue: PByte; cbLength: Word): HResult; stdcall;
  4003.     // Used to begin prerolling the reader.  Call this method
  4004.     // when you know you're going to call Start soon and want
  4005.     // to start buffering data in advance.  cnsStart, cnsDuration
  4006.     // and fRate should be the same as the values you plan to pass
  4007.     // to Start in the future.
  4008.     function Preroll(cnsStart: Int64; cnsDuration: Int64; fRate: Single): HResult; stdcall;
  4009.     // Specifies whether the SDK should send the client's unique identifier
  4010.     // to the server when streaming.
  4011.     function SetLogClientID(fLogClientID: BOOL): HResult; stdcall;
  4012.     function GetLogClientID(out pfLogClientID: BOOL): HResult; stdcall;
  4013.     // This method requests that the Reader send WMT_BUFFERING_STOP as soon
  4014.     // as possible. The Reader will only honor the request if it is currently
  4015.     // buffering, i.e., it has sent a WMT_BUFFERING_START, but not yet sent the
  4016.     // corresponding WMT_BUFFERING_STOP.
  4017.     function StopBuffering: HResult; stdcall;
  4018.     // Same as IWMReader::Open but takes an IStream interface pointer instead
  4019.     // of an URL to be opened
  4020.     function OpenStream(const pStream: IStream; pCallback: IWMReaderCallback;
  4021.                         pvContext: Pointer): HResult; stdcall;
  4022.   end;
  4023.  
  4024.   // The reader can be QI'ed for this interface for frame access functionaly.
  4025.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAdvanced3> _di_IWMReaderAdvanced3;'}
  4026.   {$EXTERNALSYM IWMReaderAdvanced3}
  4027.   IWMReaderAdvanced3 = interface(IWMReaderAdvanced2)
  4028.     ['{5DC0674B-F04B-4A4E-9F2A-B1AFDE2C8100}']
  4029.     (*** IWMReaderAdvanced3 methods ***)
  4030.     // This method is used when you want to stop net streaming right away but
  4031.     // continue to receive samples that SDK have gotten so far.
  4032.     //
  4033.     // If it's successful, user should receive an END_OF_STREAMING quickly.
  4034.     function StopNetStreaming: HResult; stdcall;
  4035.     // This method supports extended start functionality. The currently
  4036.     // support start formats are:
  4037.     //
  4038.     // WMT_OFFSET_FORMAT_100NS
  4039.     // WMT_OFFSET_FORMAT_FRAME_NUMBERS
  4040.     // WMT_OFFSET_FORMAT_PLAYLIST_OFFSET
  4041.     // WMT_OFFSET_FORMAT_TIMECODE
  4042.     function StartAtPosition(wStreamNum: Word; pvOffsetStart: Pointer; pvDuration: Pointer;
  4043.                              dwOffsetFormat: TWMTOffsetFormat; fRate: Single;
  4044.                              pvContext: Pointer): HResult; stdcall;
  4045.   end;
  4046.  
  4047.   // The reader can be QI'ed for this interface for frame access functionaly.
  4048.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAdvanced4> _di_IWMReaderAdvanced4;'}
  4049.   {$EXTERNALSYM IWMReaderAdvanced4}
  4050.   IWMReaderAdvanced4 = interface(IWMReaderAdvanced3)
  4051.     ['{945A76A2-12AE-4D48-BD3C-CD1D90399B85}']
  4052.     (*** IWMReaderAdvanced4 methods ***)
  4053.     function GetLanguageCount(dwOutputNum: LongWord; out pwLanguageCount: Word): HResult; stdcall;
  4054.     function GetLanguage(dwOutputNum: LongWord; wLanguage: Word; {out} pwszLanguageString: PWideChar;
  4055.                          var pcchLanguageStringLength: Word): HResult; stdcall;
  4056.     function GetMaxSpeedFactor(out pdblFactor: Double): HResult; stdcall;
  4057.     function IsUsingFastCache(out pfUsingFastCache: BOOL): HResult; stdcall;
  4058.     function AddLogParam(wszNameSpace: PWideChar; wszName: PWideChar; wszValue: PWideChar): HResult; stdcall;
  4059.     function SendLogParams: HResult; stdcall;
  4060.     // Sets output parameter to TRUE if IWMReaderAdvanced2::SaveFileAs() is
  4061.     // can be invoked for the current content.
  4062.     function CanSaveFileAs(out pfCanSave: BOOL): HResult; stdcall;
  4063.     // Cancels the current FileSaveAs operation
  4064.     function CancelSaveFileAs: HResult; stdcall;
  4065.     // This method returns the URL currently being played.  This URL might be
  4066.     // different from the URL passed in to IWMReader::Open, because the Reader
  4067.     // may have been redirected to an alternate URL.
  4068.     function GetURL(pwszURL: PWideChar; var pcchURL: LongWord): HResult; stdcall;
  4069.   end;
  4070.  
  4071.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAllocatorEx> _di_IWMReaderAllocatorEx;'}
  4072.   {$EXTERNALSYM IWMReaderAllocatorEx}
  4073.   IWMReaderAllocatorEx = interface(IUnknown)
  4074.     ['{9F762FA7-A22E-428D-93C9-AC82F3AAFE5A}']
  4075.     (*** IWMReaderAllocatorEx methods ***)
  4076.     function AllocateForStreamEx(wStreamNum: Word; cbBuffer: LongWord; out ppBuffer: INSSBuffer;
  4077.                                  dwFlags: LongWord; cnsSampleTime: Int64;
  4078.                                  cnsSampleDuration: Int64; pvContext: Pointer): HResult; stdcall;
  4079.     function AllocateForOutputEx(dwOutputNum: LongWord; cbBuffer: LongWord;
  4080.                                  out ppBuffer: INSSBuffer; dwFlags: LongWord;
  4081.                                  cnsSampleTime: Int64; cnsSampleDuration: Int64;
  4082.                                  pvContext: Pointer): HResult; stdcall;
  4083.   end;
  4084.  
  4085.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderTypeNegotiation> _di_IWMReaderTypeNegotiation;'}
  4086.   {$EXTERNALSYM IWMReaderTypeNegotiation}
  4087.   IWMReaderTypeNegotiation = interface(IUnknown)
  4088.     ['{FDBE5592-81A1-41EA-93BD-735CAD1ADC05}']
  4089.     (*** IWMReaderTypeNegotiation methods ***)
  4090.     function TryOutputProps(dwOutputNum: LongWord; pOutput: IWMOutputMediaProps): HResult; stdcall;
  4091.   end;
  4092.  
  4093.   // For some advanced functionality, the IWMReaderCallback must support this
  4094.   // interface.
  4095.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderCallbackAdvanced> _di_IWMReaderCallbackAdvanced;'}
  4096.   {$EXTERNALSYM IWMReaderCallbackAdvanced}
  4097.   IWMReaderCallbackAdvanced = interface(IUnknown)
  4098.     ['{96406BEB-2B2B-11D3-B36B-00C04F6108FF}']
  4099.     (*** IWMReaderCallbackAdvanced methods ***)
  4100.     // Receive a sample directly from the ASF. To get this call, the user
  4101.     // must register himself to receive samples for a particular stream.
  4102.     function OnStreamSample(wStreamNum: Word; cnsSampleTime: Int64;
  4103.                             cnsSampleDuration: Int64; dwFlags: LongWord;
  4104.                             pSample: INSSBuffer; pvContext: Pointer): HResult; stdcall;
  4105.     // In some cases, the user may want to get callbacks telling what the
  4106.     // reader thinks the current time is. This is interesting in 2 cases:
  4107.     // - If the ASF has gaps in it; say no audio for 10 seconds. This call
  4108.     //   will continue to be called, while OnSample won't be called.
  4109.     // - If the user is driving the clock, the reader needs to communicate
  4110.     //   back to the user its time, to avoid the user overrunning the reader.
  4111.     function OnTime(cnsCurrentTime: Int64; pvContext: Pointer): HResult; stdcall;
  4112.     // The user can also get callbacks when stream selection occurs.
  4113.     function OnStreamSelection(wStreamCount: Word; pStreamNumbers: PWord;
  4114.                                pSelections: PWMTStreamSelection; pvContext: Pointer): HResult; stdcall;
  4115.     // Will be called if the user got an async result from their
  4116.     // call to SetOutputProps.  The next sample you receive for
  4117.     // this output will have these properties.  The contents of the
  4118.     // media type after calling SetOutputProps and before receiving
  4119.     // an OutputPropsChanged notification are undefined.
  4120.     function OnOutputPropsChanged(dwOutputNum: LongWord; pMediaType: PWMMediaType;
  4121.                                   pvContext: Pointer): HResult; stdcall;
  4122.     // If the user has registered to allocate buffers, this is where he must
  4123.     // do it.
  4124.     function AllocateForStream(wStreamNum: Word; cbBuffer: LongWord; out ppBuffer: INSSBuffer;
  4125.                                pvContext: Pointer): HResult; stdcall;
  4126.     function AllocateForOutput(dwOutputNum: LongWord; cbBuffer: LongWord; out ppBuffer: INSSBuffer;
  4127.                                pvContext: Pointer): HResult; stdcall;
  4128.   end;
  4129.  
  4130.   // Used to access advanced DRM functionality.
  4131.   {$HPPEMIT 'typedef System::DelphiInterface<IWMDRMReader> _di_IWMDRMReader;'}
  4132.   {$EXTERNALSYM IWMDRMReader}
  4133.   IWMDRMReader = interface(IUnknown)
  4134.     ['{D2827540-3EE7-432C-B14C-DC17F085D3B3}']
  4135.     (*** IWMDRMReader methods ***)
  4136.     function AcquireLicense(dwFlags: LongWord): HResult; stdcall;
  4137.     function CancelLicenseAcquisition: HResult; stdcall;
  4138.     function Individualize(dwFlags: LongWord): HResult; stdcall;
  4139.     function CancelIndividualization: HResult; stdcall;
  4140.     function MonitorLicenseAcquisition: HResult; stdcall;
  4141.     function CancelMonitorLicenseAcquisition: HResult; stdcall;
  4142.     function SetDRMProperty(pwstrName: PWideChar; dwType: TWMTAttrDataType; pValue: PByte;
  4143.                             cbLength: Word): HResult; stdcall;
  4144.     function GetDRMProperty(pwstrName: PWideChar; out pdwType: TWMTAttrDataType; pValue: PByte;
  4145.                             var pcbLength: Word): HResult; stdcall;
  4146.   end;
  4147.  
  4148.   // Used to configure the network.  This interface is implemented by
  4149.   // the IWMReader object.
  4150.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderNetworkConfig> _di_IWMReaderNetworkConfig;'}
  4151.   {$EXTERNALSYM IWMReaderNetworkConfig}
  4152.   IWMReaderNetworkConfig = interface(IUnknown)
  4153.     ['{96406BEC-2B2B-11D3-B36B-00C04F6108FF}']
  4154.     (*** IWMReaderNetworkConfig methods ***)
  4155.     // Get and set the amount of time the network source will buffer
  4156.     // data before rendering it.
  4157.     function GetBufferingTime(out pcnsBufferingTime: Int64): HResult; stdcall;
  4158.     function SetBufferingTime(cnsBufferingTime: Int64): HResult; stdcall;
  4159.     // Returns the UDP port number ranges that will be used for receiving
  4160.     // data.  If no ranges are available, random UDP port numbers will be used.
  4161.     function GetUDPPortRanges({out} pRangeArray: PWMPortNumberRange; var pcRanges: LongWord): HResult; stdcall;
  4162.     // Sets the UDP port number ranges that can be used for receiving data.
  4163.     // If no ranges are specified, random UDP port numbers will be used.
  4164.     function SetUDPPortRanges({in} pRangeArray: PWMPortNumberRange; cRanges: LongWord): HResult; stdcall;
  4165.     // Proxy settings: Manual proxy, Autodetect, UseBrowser (only for HTTP), or No Proxy.
  4166.     function GetProxySettings(pwszProtocol: PWideChar; out pProxySetting: TWMTProxySettings): HResult; stdcall;
  4167.     function SetProxySettings(pwszProtocol: PWideChar; ProxySetting: TWMTProxySettings): HResult; stdcall;
  4168.     // The host to use as the proxy.
  4169.     function GetProxyHostName(pwszProtocol: PWideChar; {out} pwszHostName: PWideChar;
  4170.                               var pcchHostName: LongWord): HResult; stdcall;
  4171.     function SetProxyHostName(pwszProtocol: PWideChar; pwszHostName: PWideChar): HResult; stdcall;
  4172.     // The port to use as the proxy.
  4173.     function GetProxyPort(pwszProtocol: PWideChar; out pdwPort: LongWord): HResult; stdcall;
  4174.     function SetProxyPort(pwszProtocol: PWideChar; dwPort: LongWord): HResult; stdcall;
  4175.     // Get and set the proxy exception list.
  4176.     function GetProxyExceptionList(pwszProtocol: PWideChar; {out} pwszExceptionList: PWideChar;
  4177.                                    var pcchExceptionList: LongWord): HResult; stdcall;
  4178.     function SetProxyExceptionList(pwszProtocol: PWideChar; pwszExceptionList: PWideChar): HResult; stdcall;
  4179.     // Whether or not to bypass proxy for local hosts
  4180.     function GetProxyBypassForLocal(pwszProtocol: PWideChar; out pfBypassForLocal: BOOL): HResult; stdcall;
  4181.     function SetProxyBypassForLocal(pwszProtocol: PWideChar; fBypassForLocal: BOOL): HResult; stdcall;
  4182.     // Whether to force a wpad discovery on the next run
  4183.     function GetForceRerunAutoProxyDetection(out pfForceRerunDetection: BOOL): HResult; stdcall;
  4184.     function SetForceRerunAutoProxyDetection(fForceRerunDetection: BOOL): HResult; stdcall;
  4185.     // Whether or not to use multicast, http, tcp, or udp
  4186.     function GetEnableMulticast(out pfEnableMulticast: BOOL): HResult; stdcall;
  4187.     function SetEnableMulticast(fEnableMulticast: BOOL): HResult; stdcall;
  4188.     function GetEnableHTTP(out pfEnableHTTP: BOOL): HResult; stdcall;
  4189.     function SetEnableHTTP(fEnableHTTP: BOOL): HResult; stdcall;
  4190.     function GetEnableUDP(out pfEnableUDP: BOOL): HResult; stdcall;
  4191.     function SetEnableUDP(fEnableUDP: BOOL): HResult; stdcall;
  4192.     function GetEnableTCP(out pfEnableTCP: BOOL): HResult; stdcall;
  4193.     function SetEnableTCP(fEnableTCP: BOOL): HResult; stdcall;
  4194.     // Forgets automatic protocol detection settings and redetects next time.
  4195.     function ResetProtocolRollover: HResult; stdcall;
  4196.     // Return or set the client's link bandwidth in bps.  This is an optional
  4197.     // setting.  By default, the SDK will automatically detect its connection
  4198.     // bandwidth to the streaming media server.
  4199.     function GetConnectionBandwidth(out pdwConnectionBandwidth: LongWord): HResult; stdcall;
  4200.     function SetConnectionBandwidth(dwConnectionBandwidth: LongWord): HResult; stdcall;
  4201.     // Iterate through the network protocols supported by this reader
  4202.     function GetNumProtocolsSupported(out pcProtocols: LongWord): HResult; stdcall;
  4203.     function GetSupportedProtocolName(dwProtocolNum: LongWord; {out} pwszProtocolName: PWideChar;
  4204.                                       var pcchProtocolName: LongWord): HResult; stdcall;
  4205.     // Adds the specified pszUrl to the list of URL's to recieve logging data.
  4206.     // This list is in addition to the origin server.
  4207.     function AddLoggingUrl(pwszURL: PWideChar): HResult; stdcall;
  4208.     // Fills the buffer with the URL corresponding to index dwIndex.
  4209.     function GetLoggingUrl(dwIndex: LongWord; {out} pwszURL: PWideChar; var pcchURL: LongWord): HResult; stdcall;
  4210.     // Returns the number of URLs in the current list of logging URLs.
  4211.     function GetLoggingUrlCount(out pdwUrlCount: LongWord): HResult; stdcall;
  4212.     // Clears the list of logging URLs
  4213.     function ResetLoggingUrlList: HResult; stdcall;
  4214.   end;
  4215.  
  4216.   // Used to configure the network.  This interface is implemented by
  4217.   // the IWMReader object.
  4218.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderNetworkConfig2> _di_IWMReaderNetworkConfig2;'}
  4219.   {$EXTERNALSYM IWMReaderNetworkConfig2}
  4220.   IWMReaderNetworkConfig2 = interface(IWMReaderNetworkConfig)
  4221.     ['{D979A853-042B-4050-8387-C939DB22013F}']
  4222.     (*** IWMReaderNetworkConfig2 methods ***)
  4223.     // If enabled, allows streaming content (WMT_PLAY_MODE_STREAMING)
  4224.     // to be cached locally.
  4225.     function GetEnableContentCaching(out pfEnableContentCaching: BOOL): HResult; stdcall;
  4226.     function SetEnableContentCaching(fEnableContentCaching: BOOL): HResult; stdcall;
  4227.     // If enabled, allows streaming content to be streamed at a rate higher
  4228.     // than the playback rate.  This feature requires ContentCaching to be
  4229.     // enabled as well.
  4230.     function GetEnableFastCache(out pfEnableFastCache: BOOL): HResult; stdcall;
  4231.     function SetEnableFastCache(fEnableFastCache: BOOL): HResult; stdcall;
  4232.     function GetAcceleratedStreamingDuration(out pcnsAccelDuration: Int64): HResult; stdcall;
  4233.     function SetAcceleratedStreamingDuration(cnsAccelDuration: Int64): HResult; stdcall;
  4234.     function GetAutoReconnectLimit(out pdwAutoReconnectLimit: LongWord): HResult; stdcall;
  4235.     function SetAutoReconnectLimit(dwAutoReconnectLimit: LongWord): HResult; stdcall;
  4236.     function GetEnableResends(out pfEnableResends: BOOL): HResult; stdcall;
  4237.     function SetEnableResends(fEnableResends: BOOL): HResult; stdcall;
  4238.     function GetEnableThinning(out pfEnableThinning: BOOL): HResult; stdcall;
  4239.     function SetEnableThinning(fEnableThinning: BOOL): HResult; stdcall;
  4240.     function GetMaxNetPacketSize(out pdwMaxNetPacketSize: LongWord): HResult; stdcall;
  4241.   end;
  4242.  
  4243.   // Used to configure the network.  This interface is implemented by
  4244.   // the IWMReader object.
  4245.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderStreamClock> _di_IWMReaderStreamClock;'}
  4246.   {$EXTERNALSYM IWMReaderStreamClock}
  4247.   IWMReaderStreamClock = interface(IUnknown)
  4248.     ['{96406BED-2B2B-11D3-B36B-00C04F6108FF}']
  4249.     (*** IWMReaderStreamClock methods ***)
  4250.     // Get the current value of the stream clock
  4251.     function GetTime(pcnsNow: PInt64): HResult; stdcall;
  4252.     // Set or kill a timer.  All timers are automatically
  4253.     // killed whenever you stop the Reader.  When a timer
  4254.     // expires, you'll receive a WMT_TIMER OnStatus callback
  4255.     // with hr == S_OK, pValue = TimerId and pvContext == pvParam.
  4256.     function SetTimer(cnsWhen: Int64; pvParam: Pointer; out pdwTimerId: LongWord): HResult; stdcall;
  4257.     function KillTimer(dwTimerId: LongWord): HResult; stdcall;
  4258.   end;
  4259.  
  4260.   {$HPPEMIT 'typedef System::DelphiInterface<IWMIndexer> _di_IWMIndexer;'}
  4261.   {$EXTERNALSYM IWMIndexer}
  4262.   IWMIndexer = interface(IUnknown)
  4263.     ['{6D7CDC71-9888-11D3-8EDC-00C04F6109CF}']
  4264.     (*** IWMIndexer methods ***)
  4265.     // Start is an asynchronous call; it returns almost immediately and the user
  4266.     // should wait for appropriate OnStatus calls to be sent to the callback.
  4267.     function StartIndexing(pwszURL: PWideChar; pCallback: IWMStatusCallback;
  4268.                            pvContext: Pointer): HResult; stdcall;
  4269.     function Cancel: HResult; stdcall;
  4270.   end;
  4271.  
  4272.   {$HPPEMIT 'typedef System::DelphiInterface<IWMIndexer2> _di_IWMIndexer2;'}
  4273.   {$EXTERNALSYM IWMIndexer2}
  4274.   IWMIndexer2 = interface(IWMIndexer)
  4275.     ['{B70F1E42-6255-4DF0-A6B9-02B212D9E2BB}']
  4276.     (*** IWMIndexer2 methods ***)
  4277.     function Configure(wStreamNum: Word; nIndexerType: TWMTIndexType;
  4278.                        pvInterval: Pointer; pvIndexType: Pointer): HResult; stdcall;
  4279.   end;
  4280.  
  4281.   {$HPPEMIT 'typedef System::DelphiInterface<IWMLicenseBackup> _di_IWMLicenseBackup;'}
  4282.   {$EXTERNALSYM IWMLicenseBackup}
  4283.   IWMLicenseBackup = interface(IUnknown)
  4284.     ['{05E5AC9F-3FB6-4508-BB43-A4067BA1EBE8}']
  4285.     (*** IWMLicenseBackup methods ***)
  4286.     function BackupLicenses(dwFlags: LongWord; pCallback: IWMStatusCallback): HResult; stdcall;
  4287.     function CancelLicenseBackup: HResult; stdcall;
  4288.   end;
  4289.  
  4290.   {$HPPEMIT 'typedef System::DelphiInterface<IWMLicenseRestore> _di_IWMLicenseRestore;'}
  4291.   {$EXTERNALSYM IWMLicenseRestore}
  4292.   IWMLicenseRestore = interface(IUnknown)
  4293.     ['{C70B6334-A22E-4EFB-A245-15E65A004A13}']
  4294.     (*** IWMLicenseRestore methods ***)
  4295.     function RestoreLicenses(dwFlags: LongWord; pCallback: IWMStatusCallback): HResult; stdcall;
  4296.     function CancelLicenseRestore: HResult; stdcall;
  4297.   end;
  4298.  
  4299.   {$HPPEMIT 'typedef System::DelphiInterface<IWMBackupRestoreProps> _di_IWMBackupRestoreProps;'}
  4300.   {$EXTERNALSYM IWMBackupRestoreProps}
  4301.   IWMBackupRestoreProps = interface(IUnknown)
  4302.     ['{3C8E0DA6-996F-4FF3-A1AF-4838F9377E2E}']
  4303.     (*** IWMBackupRestoreProps methods ***)
  4304.     function GetPropCount(out pcProps: Word): HResult; stdcall;
  4305.     function GetPropByIndex(wIndex: Word; {out} pwszName: PWideChar; var pcchNameLen: Word;
  4306.                             out pType: TWMTAttrDataType; {out} pValue: PByte; var pcbLength: Word): HResult; stdcall;
  4307.     function GetPropByName(pszName: PWideChar; out pType: TWMTAttrDataType; {out} pValue: PByte;
  4308.                            var pcbLength: Word): HResult; stdcall;
  4309.     function SetProp(pszName: PWideChar; Type_: TWMTAttrDataType; pValue: PByte; cbLength: Word): HResult; stdcall;
  4310.     function RemoveProp(pcwszName: PWideChar): HResult; stdcall;
  4311.     function RemoveAllProps: HResult; stdcall;
  4312.   end;
  4313.  
  4314.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCodecInfo> _di_IWMCodecInfo;'}
  4315.   {$EXTERNALSYM IWMCodecInfo}
  4316.   IWMCodecInfo = interface(IUnknown)
  4317.     ['{A970F41E-34DE-4A98-B3BA-E4B3CA7528F0}']
  4318.     (*** IWMCodecInfo methods ***)
  4319.     function GetCodecInfoCount(const guidType: TGUID; out pcCodecs: LongWord): HResult; stdcall;
  4320.     function GetCodecFormatCount(const guidType: TGUID; dwCodecIndex: LongWord; out pcFormat: LongWord): HResult; stdcall;
  4321.     function GetCodecFormat(const guidType: TGUID; dwCodecIndex: LongWord; dwFormatIndex: LongWord;
  4322.                             out ppIStreamConfig: IWMStreamConfig): HResult; stdcall;
  4323.   end;
  4324.  
  4325.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCodecInfo2> _di_IWMCodecInfo2;'}
  4326.   {$EXTERNALSYM IWMCodecInfo2}
  4327.   IWMCodecInfo2 = interface(IWMCodecInfo)
  4328.     ['{AA65E273-B686-4056-91EC-DD768D4DF710}']
  4329.     (*** IWMCodecInfo2 methods ***)
  4330.     function GetCodecName(const guidType: TGUID; dwCodecIndex: LongWord; {out} wszName: PWideChar;
  4331.                           var pcchName: LongWord): HResult; stdcall;
  4332.     function GetCodecFormatDesc(const guidType: TGUID; dwCodecIndex: LongWord;
  4333.                                 dwFormatIndex: LongWord; out ppIStreamConfig: IWMStreamConfig;
  4334.                                 {out} wszDesc: PWideChar; var pcchDesc: LongWord): HResult; stdcall;
  4335.   end;
  4336.  
  4337.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCodecInfo3> _di_IWMCodecInfo3;'}
  4338.   {$EXTERNALSYM IWMCodecInfo3}
  4339.   IWMCodecInfo3 = interface(IWMCodecInfo2)
  4340.     ['{7E51F487-4D93-4F98-8AB4-27D0565ADC51}']
  4341.     (*** IWMCodecInfo3 methods ***)
  4342.     function GetCodecFormatProp(const guidType: TGUID; dwCodecIndex: LongWord;
  4343.                                 dwFormatIndex: LongWord; pszName: PWideChar; 
  4344.                                 out pType: TWMTAttrDataType; {out} pValue: PByte;
  4345.                                 var pdwSize: LongWord): HResult; stdcall;
  4346.     function GetCodecProp(const guidType: TGUID; dwCodecIndex: LongWord; pszName: PWideChar;
  4347.                           out pType: TWMTAttrDataType; {out} pValue: PByte; var pdwSize: LongWord): HResult; stdcall;
  4348.     function SetCodecEnumerationSetting(const guidType: TGUID; dwCodecIndex: LongWord;
  4349.                                         pszName: PWideChar; Type_: TWMTAttrDataType;
  4350.                                         {in} pValue: PByte; dwSize: LongWord): HResult; stdcall;
  4351.     function GetCodecEnumerationSetting(const guidType: TGUID; dwCodecIndex: LongWord;
  4352.                                         pszName: PWideChar; out pType: TWMTAttrDataType;
  4353.                                         {out} pValue: PByte; var pdwSize: LongWord): HResult; stdcall;
  4354.   end;
  4355.  
  4356.   {$HPPEMIT 'typedef System::DelphiInterface<IWMLanguageList> _di_IWMLanguageList;'}
  4357.   {$EXTERNALSYM IWMLanguageList}
  4358.   IWMLanguageList = interface(IUnknown)
  4359.     ['{DF683F00-2D49-4D8E-92B7-FB19F6A0DC57}']
  4360.     (*** IWMLanguageList methods ***)
  4361.     function GetLanguageCount(out pwCount: Word): HResult; stdcall;
  4362.     function GetLanguageDetails(wIndex: Word; {out} pwszLanguageString: PWideChar;
  4363.                                 var pcchLanguageStringLength: Word): HResult; stdcall;
  4364.     function AddLanguageByRFC1766String(pwszLanguageString: PWideChar; out pwIndex: Word): HResult; stdcall;
  4365.   end;
  4366.  
  4367.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterPushSink> _di_IWMWriterPushSink;'}
  4368.   {$EXTERNALSYM IWMWriterPushSink}
  4369.   IWMWriterPushSink = interface(IWMWriterSink)
  4370.     ['{DC10E6A5-072C-467D-BF57-6330A9DDE12A}']
  4371.     (*** IWMWriterPushSink methods ***)
  4372.     // Connect to a publishing point on the server.
  4373.     // If the publishing point does not exist, and pwszTemplateURL is
  4374.     // non-NULL, an attempt will be made to create a new publishing point based
  4375.     // on the template URL.
  4376.     function Connect(pwszURL: PWideChar; pwszTemplateURL: PWideChar; fAutoDestroy: BOOL): HResult; stdcall;
  4377.     // Terminate the control connection with the downstream server. The data path on the
  4378.     // downstream server remains active for 5 minutes after which it is cleaned up.
  4379.     function Disconnect: HResult; stdcall;
  4380.     // Gracefully end the push distribution session. This shuts down the data path on
  4381.     // the server for the publishing point.
  4382.     function EndSession: HResult; stdcall;
  4383.   end;
  4384.  
  4385.   // The writer can be QI'd for this interface to enumerate all of the
  4386.   // watermark DMOs installed on a system.
  4387.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWatermarkInfo> _di_IWMWatermarkInfo;'}
  4388.   {$EXTERNALSYM IWMWatermarkInfo}
  4389.   IWMWatermarkInfo = interface(IUnknown)
  4390.     ['{6F497062-F2E2-4624-8EA7-9DD40D81FC8D}']
  4391.     (*** IWMWatermarkInfo methods ***)
  4392.     function GetWatermarkEntryCount(wmetType: TWMTWatermarkEntryType; out pdwCount: LongWord): HResult; stdcall;
  4393.     function GetWatermarkEntry(wmetType: TWMTWatermarkEntryType; dwEntryNum: LongWord;
  4394.                                out pEntry: TWMTWatermarkEntry): HResult; stdcall;
  4395.   end;
  4396.  
  4397.   // The Reader can be QI'ed for this interface for DirectX-VA support
  4398.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAccelerator> _di_IWMReaderAccelerator;'}
  4399.   {$EXTERNALSYM IWMReaderAccelerator}
  4400.   IWMReaderAccelerator = interface(IUnknown)
  4401.     ['{BDDC4D08-944D-4D52-A612-46C3FDA07DD4}']
  4402.     (*** IWMReaderAccelerator methods ***)
  4403.     function GetCodecInterface(dwOutputNum: LongWord; const riid: TGUID;
  4404.                                out ppvCodecInterface: Pointer): HResult; stdcall;
  4405.     function Notify(dwOutputNum: LongWord; pSubtype: PWMMediaType): HResult; stdcall;
  4406.   end;
  4407.  
  4408.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderTimecode> _di_IWMReaderTimecode;'}
  4409.   {$EXTERNALSYM IWMReaderTimecode}
  4410.   IWMReaderTimecode = interface(IUnknown)
  4411.     ['{F369E2F0-E081-4FE6-8450-B810B2F410D1}']
  4412.     (*** IWMReaderTimecode methods ***)
  4413.     // Get the number of ranges of timecode data for a given stream in the file.
  4414.     // Returns 0 if there is no timecode index for the specified stream.
  4415.     function GetTimecodeRangeCount(wStreamNum: Word; out pwRangeCount: Word): HResult; stdcall;
  4416.     // Gets the first and last timecode available for a given range.
  4417.     function GetTimecodeRangeBounds(wStreamNum: Word; wRangeNum: Word;
  4418.                                     out pStartTimecode: LongWord; out pEndTimecode: LongWord): HResult; stdcall;
  4419.   end;
  4420.  
  4421.   {$HPPEMIT 'typedef System::DelphiInterface<IWMAddressAccess> _di_IWMAddressAccess;'}
  4422.   {$EXTERNALSYM IWMAddressAccess}
  4423.   IWMAddressAccess = interface(IUnknown)
  4424.     ['{BB3C6389-1633-4E92-AF14-9F3173BA39D0}']
  4425.     (*** IWMAddressAccess methods ***)
  4426.     // Determine the number of access list entries (by type)
  4427.     function GetAccessEntryCount(aeType: WM_AETYPE; out pcEntries: LongWord): HResult; stdcall;
  4428.     // Retrieve a single address access entry (by type)
  4429.     function GetAccessEntry(aeType: WM_AETYPE; dwEntryNum: LongWord;
  4430.                             out pAddrAccessEntry: TWMAddressAccessEntry): HResult; stdcall;
  4431.     // Add a single address access entry
  4432.     function AddAccessEntry(aeType: WM_AETYPE; pAddrAccessEntry: PWMAddressAccessEntry): HResult; stdcall;
  4433.     // Remove a single address access entry (by type)
  4434.     function RemoveAccessEntry(aeType: WM_AETYPE; dwEntryNum: LongWord): HResult; stdcall;
  4435.   end;
  4436.  
  4437.   {$HPPEMIT 'typedef System::DelphiInterface<IWMAddressAccess2> _di_IWMAddressAccess2;'}
  4438.   {$EXTERNALSYM IWMAddressAccess2}
  4439.   IWMAddressAccess2 = interface(IWMAddressAccess)
  4440.     ['{65A83FC2-3E98-4D4D-81B5-2A742886B33D}']
  4441.     (*** IWMAddressAccess2 methods ***)
  4442.     // Retrieve a single address access entry (by type)
  4443.     function GetAccessEntryEx(aeType: WM_AETYPE; dwEntryNum: LongWord;
  4444.                               out pbstrAddress: WideString; out pbstrMask: WideString): HResult; stdcall;
  4445.     // Add a single address access entry
  4446.     function AddAccessEntryEx(aeType: WM_AETYPE; bstrAddress: WideString;
  4447.                               bstrMask: WideString): HResult; stdcall;
  4448.   end;
  4449.  
  4450.   // Used to get "APIC" ID3v2 frames
  4451.   {$HPPEMIT 'typedef System::DelphiInterface<IWMImageInfo> _di_IWMImageInfo;'}
  4452.   {$EXTERNALSYM IWMImageInfo}
  4453.   IWMImageInfo = interface(IUnknown)
  4454.     ['{9F0AA3B6-7267-4D89-88F2-BA915AA5C4C6}']
  4455.     (*** IWMImageInfo methods ***)
  4456.     function GetImageCount(out pcImages: LongWord): HResult; stdcall;
  4457.     function GetImage(wIndex: LongWord; var pcchMIMEType: Word; {out} pwszMIMEType: PWideChar;
  4458.                       var pcchDescription: Word; {out} pwszDescription: PWideChar; out pImageType: Word;
  4459.                       var pcbImageData: LongWord; {out} pbImageData: PByte): HResult; stdcall;
  4460.   end;
  4461.  
  4462. //*@@@+++@@@@******************************************************************
  4463. //
  4464. // Microsoft Windows Media
  4465. // Copyright (C) Microsoft Corporation. All rights reserved.
  4466. //
  4467. //*@@@---@@@@******************************************************************
  4468. //
  4469.  
  4470. const
  4471.   IID_IConfigAsfWriter2       : TGUID = '{7989ccaa-53f0-44f0-884a-f3b03f6ae066}';
  4472.   {$EXTERNALSYM IID_IConfigAsfWriter2}
  4473.   IID_IConfigAsfWriter        : TGUID = '{45086030-F7E4-486a-B504-826BB5792A3B}';
  4474.   {$EXTERNALSYM IID_IConfigAsfWriter}
  4475.  
  4476.   IID_IAMWMBufferPass         : TGUID = '{6DD816D7-E740-4123-9E24-2444412644D8}';
  4477.   {$EXTERNALSYM IID_IAMWMBufferPass}
  4478.   IID_IAMWMBufferPassCallback : TGUID = '{B25B8372-D2D2-44b2-8653-1B8DAE332489}';
  4479.   {$EXTERNALSYM IID_IAMWMBufferPassCallback}
  4480.  
  4481.   EC_PREPROCESS_COMPLETE = $56;
  4482.   {$EXTERNALSYM EC_PREPROCESS_COMPLETE}
  4483.  
  4484. type
  4485.   IAMWMBufferPassCallback = interface;
  4486.  
  4487.   // Interface used to setup callback for app to set/get properties on WindowsMedia buffers that
  4488.   // are passed by the ASF reader and writer filters
  4489.   {$HPPEMIT 'typedef System::DelphiInterface<IAMWMBufferPass> _di_IAMWMBufferPass;'}
  4490.   {$EXTERNALSYM IAMWMBufferPass}
  4491.   IAMWMBufferPass = interface(IUnknown)
  4492.   ['{6DD816D7-E740-4123-9E24-2444412644D8}']
  4493.   (*** IAMWMBufferPass methods ***)
  4494.     // set the interface to use for callback notification
  4495.     function SetNotify(pCallback: IAMWMBufferPassCallback): HRESULT; stdcall;
  4496.   end;
  4497.  
  4498.   // Callback interface used to notify that a WindowMedia buffer is being passed. Typically implemented
  4499.   // by the app and called by the ASF writer and reader filters.
  4500.   {$HPPEMIT 'typedef System::DelphiInterface<IAMWMBufferPassCallback> _di_IAMWMBufferPassCallback;'}
  4501.   {$EXTERNALSYM IAMWMBufferPassCallback}
  4502.   IAMWMBufferPassCallback = interface(IUnknown)
  4503.   ['{B25B8372-D2D2-44b2-8653-1B8DAE332489}']
  4504.   (*** IAMWMBufferPassCallback methods ***)
  4505.     //  give the callback receiver a chance to examine
  4506.     //  (and act on) the INSSBuffer3 before passing on
  4507.     function Notify(pNSSBuffer3: INSSBuffer3; pPin: IPin;
  4508.       prtStart, prtEnd: PReferenceTime): HRESULT; stdcall;
  4509.   end;
  4510.  
  4511.   //  ASF Writer filter paramaters for IConfigAsfWriter2 interface
  4512.   _AM_ASFWRITERCONFIG_PARAM = (
  4513.   {$IFNDEF COMPILER6_UP}
  4514.     AM_CONFIGASFWRITER_PARAM_INVALID_0,
  4515.     AM_CONFIGASFWRITER_PARAM_AUTOINDEX,        // dynamic indexing, lParam1 boolean, lParam2
  4516.   {$ELSE}
  4517.     AM_CONFIGASFWRITER_PARAM_AUTOINDEX = 1,
  4518.   {$ENDIF}
  4519.     AM_CONFIGASFWRITER_PARAM_MULTIPASS,        // multipass encoding, app should be able
  4520.                                                // to handle EC_PREPROCESS_COMPLETE events
  4521.     AM_CONFIGASFWRITER_PARAM_DONTCOMPRESS      // configure writer to take audio and video input data
  4522.                                                // as-is, without any recompression, useful for repackaging
  4523.                                                // content in the ASF container
  4524.   );
  4525.   {$EXTERNALSYM _AM_ASFWRITERCONFIG_PARAM}
  4526.   TAMASFWriterConfigParam = _AM_ASFWRITERCONFIG_PARAM;
  4527.  
  4528.   // Interface to control the ASF writer (version 2)
  4529.   {$HPPEMIT 'typedef System::DelphiInterface<IConfigAsfWriter2> _di_IConfigAsfWriter2;'}
  4530.   {$EXTERNALSYM IConfigAsfWriter2}
  4531.   IConfigAsfWriter2 = interface(IConfigAsfWriter)
  4532.   ['{7989CCAA-53F0-44f0-884A-F3B03F6AE066}']
  4533.   (*** IConfigAsfWriter2 methods ***)
  4534.     // Helper method to allow caller to pass in a pin pointer and get back the associated
  4535.     // stream number. This is helpful when using WMF SDK interfaces directly to work with
  4536.     // stream-specific properties.
  4537.     function StreamNumFromPin(pPin: IPin; out pwStreamNum: WORD): HRESULT; stdcall;
  4538.     // Set value corresponding to the passed in parameter id
  4539.     function SetParam(dwParam: TAMASFWriterConfigParam; dwParam1, dwParam2 {not used, must be 0}: LongWord): HRESULT; stdcall;
  4540.     // Get value corresponding to the passed in parameter id
  4541.     function GetParam(dwParam: LongWord; out pdwParam1, pdwParam2 {not used, must be 0}: LongWord): HRESULT; stdcall;
  4542.     // Multipass encoding
  4543.     function ResetMultiPassState: HRESULT; stdcall;
  4544.   end;
  4545.  
  4546.   // Interface to control the ASF writer
  4547.   {$HPPEMIT 'typedef System::DelphiInterface<IConfigAsfWriter> _di_IConfigAsfWriter;'}
  4548.   {$EXTERNALSYM IConfigAsfWriter}
  4549.   IConfigAsfWriter = interface(IUnknown)
  4550.   ['{45086030-F7E4-486a-B504-826BB5792A3B}']
  4551.   (*** IConfigAsfWriter methods ***)
  4552.     // The user is expected to enumerate profiles using the wmsdk IWMProfileManager
  4553.     // method and then pass the desired profile index to the ASF Writer filter via this
  4554.     // method. The filter will then try to configure itself for the selected profile.
  4555.     //
  4556.     // NOTE: The following 2 XXXProfileId methods are obsolete and their use is not recommended.
  4557.     //       Once the WMF SDK added the notion of profile versions, their behavior became ambiguous.
  4558.     //       At the time of this release (Corona) the methods will assume use of the default profile
  4559.     //       version number and make no attempt to override that. For instance, in the Corona release
  4560.     //       version 9 profiles are assumed.
  4561.     //
  4562.     //       Instead, it is recommended that apps use the XXXProfile methods which take the IWMProfile*
  4563.     //       directly or the ProfileGuid methods which take a profile GUID.
  4564.     function ConfigureFilterUsingProfileId(dwProfileId: LongWord): HRESULT; stdcall;
  4565.     function GetCurrentProfileId(out pdwProfileId: LongWord): HRESULT; stdcall;
  4566.  
  4567.     //
  4568.     // configure using a pre-defined wmsdk profile guid
  4569.     //
  4570.     function ConfigureFilterUsingProfileGuid(const guidProfile: TGUID): HRESULT; stdcall;
  4571.     function GetCurrentProfileGuid(out pProfileGuid: TGUID): HRESULT; stdcall;
  4572.  
  4573.     //
  4574.     // Use these methods when a custom profile setup is preferred
  4575.     //
  4576.     function ConfigureFilterUsingProfile(pProfile: IWMProfile): HRESULT; stdcall;
  4577.     function GetCurrentProfile(out ppProfile: IWMProfile): HRESULT; stdcall;
  4578.  
  4579.     //
  4580.     // allow app to control whether or not to index file
  4581.     //
  4582.     function SetIndexMode(bIndexFile: BOOL): HRESULT; stdcall;
  4583.     function GetIndexMode(out pbIndexFile: BOOL): HRESULT; stdcall;
  4584.   end;
  4585.  
  4586. //    Microsoft Windows Media Technology
  4587. //    Copyright (C) Microsoft Corporation.  All Rights Reserved.
  4588. //
  4589. //  Module Name:
  4590. //      nserror.h
  4591. //
  4592. //  Abstract:
  4593. //      Definitions for Windows Media events.
  4594. //
  4595. //   Here are the commented error ranges for the Windows Media Technologies Group
  4596. //
  4597. //   LEGACY RANGES
  4598. //
  4599. //       0  -  199 = General NetShow errors
  4600. //     200  -  399 = NetShow error events
  4601. //     400  -  599 = NetShow monitor events
  4602. //     600  -  799 = NetShow IMmsAutoServer errors
  4603. //    1000  - 1199 = NetShow MCMADM errors
  4604. //
  4605. //
  4606. //   NEW RANGES
  4607. //
  4608. //    2000 -  2999 = ASF (defined in ASFERR.MC)
  4609. //    3000 -  3999 = Windows Media SDK
  4610. //    4000 -  4999 = Windows Media Player
  4611. //    5000 -  5999 = Windows Media Server
  4612. //    6000 -  6999 = Windows Media HTTP/RTSP result codes (defined in NETERROR.MC)
  4613. //    7000 -  7999 = Windows Media Tools
  4614. //    8000 -  8999 = Windows Media Content Discovery
  4615. //    9000 -  9999 = Windows Media Real Time Collaboration
  4616. //   10000 - 10999 = Windows Media Digital Rights Management
  4617. //   11000 - 11999 = Windows Media Setup
  4618. //   12000 - 12999 = Windows Media Networking
  4619. //   13000 - 13999 = Windows Media Client Media Services
  4620.  
  4621.  
  4622. //#define STATUS_SEVERITY(hr)  (((hr) >> 30) & 0x3)
  4623.  
  4624. /////////////////////////////////////////////////////////////////////////
  4625. //
  4626. // NETSHOW Success Events
  4627. //
  4628. /////////////////////////////////////////////////////////////////////////
  4629.  
  4630. //
  4631. //  Values are 32 bit values layed out as follows:
  4632. //
  4633. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  4634. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  4635. //  +---+-+-+-----------------------+-------------------------------+
  4636. //  |Sev|C|R|     Facility          |               Code            |
  4637. //  +---+-+-+-----------------------+-------------------------------+
  4638. //
  4639. //  where
  4640. //
  4641. //      Sev - is the severity code
  4642. //
  4643. //          00 - Success
  4644. //          01 - Informational
  4645. //          10 - Warning
  4646. //          11 - Error
  4647. //
  4648. //      C - is the Customer code flag
  4649. //
  4650. //      R - is a reserved bit
  4651. //
  4652. //      Facility - is the facility code
  4653. //
  4654. //      Code - is the facility's status code
  4655. //
  4656. //
  4657. // Define the facility codes
  4658. //
  4659. const
  4660.   FACILITY_NS_WIN32               = $7;
  4661.   {$EXTERNALSYM FACILITY_NS_WIN32}
  4662.   FACILITY_NS                     = $D;
  4663.   {$EXTERNALSYM FACILITY_NS}
  4664.  
  4665.  
  4666. //
  4667. // Define the severity codes
  4668. //
  4669.   STATUS_SEVERITY_WARNING          = $2;
  4670.   {$EXTERNALSYM STATUS_SEVERITY_WARNING}
  4671.   STATUS_SEVERITY_SUCCESS          = $0;
  4672.   {$EXTERNALSYM STATUS_SEVERITY_SUCCESS}
  4673.   STATUS_SEVERITY_INFORMATIONAL    = $1;
  4674.   {$EXTERNALSYM STATUS_SEVERITY_INFORMATIONAL}
  4675.   STATUS_SEVERITY_ERROR            = $3;
  4676.   {$EXTERNALSYM STATUS_SEVERITY_ERROR}
  4677.  
  4678.  
  4679. //
  4680. // MessageId: NS_S_CALLPENDING
  4681. //
  4682. // MessageText:
  4683. //
  4684. //  The requested operation is pending completion.%0
  4685. //
  4686.   NS_S_CALLPENDING                 = HRESULT($000D0000);
  4687.   {$EXTERNALSYM NS_S_CALLPENDING}
  4688.  
  4689. //
  4690. // MessageId: NS_S_CALLABORTED
  4691. //
  4692. // MessageText:
  4693. //
  4694. //  The requested operation was aborted by the client.%0
  4695.   NS_S_CALLABORTED                 = HRESULT($000D0001);
  4696.   {$EXTERNALSYM NS_S_CALLABORTED}
  4697.  
  4698. //
  4699. // MessageId: NS_S_STREAM_TRUNCATED
  4700. //
  4701. // MessageText:
  4702. //
  4703. //  The stream was purposefully stopped before completion.%0
  4704. //
  4705.   NS_S_STREAM_TRUNCATED            = HRESULT($000D0002);
  4706.   {$EXTERNALSYM NS_S_STREAM_TRUNCATED}
  4707.  
  4708.  
  4709. /////////////////////////////////////////////////////////////////////////
  4710. //
  4711. // NETSHOW Warning Events
  4712. //
  4713. /////////////////////////////////////////////////////////////////////////
  4714.  
  4715. //
  4716. // MessageId: NS_W_SERVER_BANDWIDTH_LIMIT
  4717. //
  4718. // MessageText:
  4719. //
  4720. //  The maximum filebitrate value specified is greater than the server's configured maximum bandwidth.%0
  4721. //
  4722.   NS_W_SERVER_BANDWIDTH_LIMIT      = HRESULT($800D0003);
  4723.   {$EXTERNALSYM NS_W_SERVER_BANDWIDTH_LIMIT}
  4724.  
  4725. //
  4726. // MessageId: NS_W_FILE_BANDWIDTH_LIMIT
  4727. //
  4728. // MessageText:
  4729. //
  4730. //  The maximum bandwidth value specified is less than the maximum filebitrate.%0
  4731. //
  4732.   NS_W_FILE_BANDWIDTH_LIMIT        = HRESULT($800D0004);
  4733.   {$EXTERNALSYM NS_W_FILE_BANDWIDTH_LIMIT}
  4734.  
  4735.  
  4736. /////////////////////////////////////////////////////////////////////////
  4737. //
  4738. // NETSHOW Error Events
  4739. //
  4740. /////////////////////////////////////////////////////////////////////////
  4741.  
  4742. //
  4743. // MessageId: NS_E_NOCONNECTION
  4744. //
  4745. // MessageText:
  4746. //
  4747. //  There is no connection established with the Windows Media server. The operation failed.%0
  4748. //
  4749.   NS_E_NOCONNECTION                = HRESULT($C00D0005);
  4750.   {$EXTERNALSYM NS_E_NOCONNECTION}
  4751.  
  4752. //
  4753. // MessageId: NS_E_CANNOTCONNECT
  4754. //
  4755. // MessageText:
  4756. //
  4757. //  Unable to establish a connection to the server.%0
  4758. //
  4759.   NS_E_CANNOTCONNECT               = HRESULT($C00D0006);
  4760.   {$EXTERNALSYM NS_E_CANNOTCONNECT}
  4761.  
  4762. //
  4763. // MessageId: NS_E_CANNOTDESTROYTITLE
  4764. //
  4765. // MessageText:
  4766. //
  4767. //  Unable to destroy the title.%0
  4768. //
  4769.   NS_E_CANNOTDESTROYTITLE          = HRESULT($C00D0007);
  4770.   {$EXTERNALSYM NS_E_CANNOTDESTROYTITLE}
  4771.  
  4772. //
  4773. // MessageId: NS_E_CANNOTRENAMETITLE
  4774. //
  4775. // MessageText:
  4776. //
  4777. //  Unable to rename the title.%0
  4778. //
  4779.   NS_E_CANNOTRENAMETITLE           = HRESULT($C00D0008);
  4780.   {$EXTERNALSYM NS_E_CANNOTRENAMETITLE}
  4781.  
  4782. //
  4783. // MessageId: NS_E_CANNOTOFFLINEDISK
  4784. //
  4785. // MessageText:
  4786. //
  4787. //  Unable to offline disk.%0
  4788. //
  4789.   NS_E_CANNOTOFFLINEDISK           = HRESULT($C00D0009);
  4790.   {$EXTERNALSYM NS_E_CANNOTOFFLINEDISK}
  4791.  
  4792. //
  4793. // MessageId: NS_E_CANNOTONLINEDISK
  4794. //
  4795. // MessageText:
  4796. //
  4797. //  Unable to online disk.%0
  4798. //
  4799.   NS_E_CANNOTONLINEDISK            = HRESULT($C00D000A);
  4800.   {$EXTERNALSYM NS_E_CANNOTONLINEDISK}
  4801.  
  4802. //
  4803. // MessageId: NS_E_NOREGISTEREDWALKER
  4804. //
  4805. // MessageText:
  4806. //
  4807. //  There is no file parser registered for this type of file.%0
  4808. //
  4809.   NS_E_NOREGISTEREDWALKER          = HRESULT($C00D000B);
  4810.   {$EXTERNALSYM NS_E_NOREGISTEREDWALKER}
  4811.  
  4812. //
  4813. // MessageId: NS_E_NOFUNNEL
  4814. //
  4815. // MessageText:
  4816. //
  4817. //  There is no data connection established.%0
  4818. //
  4819.   NS_E_NOFUNNEL                    = HRESULT($C00D000C);
  4820.   {$EXTERNALSYM NS_E_NOFUNNEL}
  4821.  
  4822. //
  4823. // MessageId: NS_E_NO_LOCALPLAY
  4824. //
  4825. // MessageText:
  4826. //
  4827. //  Failed to load the local play DLL.%0
  4828. //
  4829.   NS_E_NO_LOCALPLAY                = HRESULT($C00D000D);
  4830.   {$EXTERNALSYM NS_E_NO_LOCALPLAY}
  4831.  
  4832. //
  4833. // MessageId: NS_E_NETWORK_BUSY
  4834. //
  4835. // MessageText:
  4836. //
  4837. //  The network is busy.%0
  4838. //
  4839.   NS_E_NETWORK_BUSY                = HRESULT($C00D000E);
  4840.   {$EXTERNALSYM NS_E_NETWORK_BUSY}
  4841.  
  4842. //
  4843. // MessageId: NS_E_TOO_MANY_SESS
  4844. //
  4845. // MessageText:
  4846. //
  4847. //  The server session limit was exceeded.%0
  4848. //
  4849.   NS_E_TOO_MANY_SESS               = HRESULT($C00D000F);
  4850.   {$EXTERNALSYM NS_E_TOO_MANY_SESS}
  4851.  
  4852. //
  4853. // MessageId: NS_E_ALREADY_CONNECTED
  4854. //
  4855. // MessageText:
  4856. //
  4857. //  The network connection already exists.%0
  4858. //
  4859.   NS_E_ALREADY_CONNECTED           = HRESULT($C00D0010);
  4860.   {$EXTERNALSYM NS_E_ALREADY_CONNECTED}
  4861.  
  4862. //
  4863. // MessageId: NS_E_INVALID_INDEX
  4864. //
  4865. // MessageText:
  4866. //
  4867. //  Index %1 is invalid.%0
  4868. //
  4869.   NS_E_INVALID_INDEX               = HRESULT($C00D0011);
  4870.   {$EXTERNALSYM NS_E_INVALID_INDEX}
  4871.  
  4872. //
  4873. // MessageId: NS_E_PROTOCOL_MISMATCH
  4874. //
  4875. // MessageText:
  4876. //
  4877. //  There is no protocol or protocol version supported by both the client and the server.%0
  4878. //
  4879.   NS_E_PROTOCOL_MISMATCH           = HRESULT($C00D0012);
  4880.   {$EXTERNALSYM NS_E_PROTOCOL_MISMATCH}
  4881.  
  4882. //
  4883. // MessageId: NS_E_TIMEOUT
  4884. //
  4885. // MessageText:
  4886. //
  4887. //  The server, a computer set up to offer multimedia content to other computers, could not handle your request for multimedia content in a timely manner.  Please try again later.%0
  4888. //
  4889.   NS_E_TIMEOUT                     = HRESULT($C00D0013);
  4890.   {$EXTERNALSYM NS_E_TIMEOUT}
  4891.  
  4892. //
  4893. // MessageId: NS_E_NET_WRITE
  4894. //
  4895. // MessageText:
  4896. //
  4897. //  Error writing to the network.%0
  4898. //
  4899.   NS_E_NET_WRITE                   = HRESULT($C00D0014);
  4900.   {$EXTERNALSYM NS_E_NET_WRITE}
  4901.  
  4902. //
  4903. // MessageId: NS_E_NET_READ
  4904. //
  4905. // MessageText:
  4906. //
  4907. //  Error reading from the network.%0
  4908. //
  4909.   NS_E_NET_READ                    = HRESULT($C00D0015);
  4910.   {$EXTERNALSYM NS_E_NET_READ}
  4911.  
  4912. //
  4913. // MessageId: NS_E_DISK_WRITE
  4914. //
  4915. // MessageText:
  4916. //
  4917. //  Error writing to a disk.%0
  4918. //
  4919.   NS_E_DISK_WRITE                  = HRESULT($C00D0016);
  4920.   {$EXTERNALSYM NS_E_DISK_WRITE}
  4921.  
  4922. //
  4923. // MessageId: NS_E_DISK_READ
  4924. //
  4925. // MessageText:
  4926. //
  4927. //  Error reading from a disk.%0
  4928. //
  4929.   NS_E_DISK_READ                   = HRESULT($C00D0017);
  4930.   {$EXTERNALSYM NS_E_DISK_READ}
  4931.  
  4932. //
  4933. // MessageId: NS_E_FILE_WRITE
  4934. //
  4935. // MessageText:
  4936. //
  4937. //  Error writing to a file.%0
  4938. //
  4939.   NS_E_FILE_WRITE                  = HRESULT($C00D0018);
  4940.   {$EXTERNALSYM NS_E_FILE_WRITE}
  4941.  
  4942. //
  4943. // MessageId: NS_E_FILE_READ
  4944. //
  4945. // MessageText:
  4946. //
  4947. //  Error reading from a file.%0
  4948. //
  4949.   NS_E_FILE_READ                   = HRESULT($C00D0019);
  4950.   {$EXTERNALSYM NS_E_FILE_READ}
  4951.  
  4952. //
  4953. // MessageId: NS_E_FILE_NOT_FOUND
  4954. //
  4955. // MessageText:
  4956. //
  4957. //  The system cannot find the file specified.%0
  4958. //
  4959.   NS_E_FILE_NOT_FOUND              = HRESULT($C00D001A);
  4960.   {$EXTERNALSYM NS_E_FILE_NOT_FOUND}
  4961.  
  4962. //
  4963. // MessageId: NS_E_FILE_EXISTS
  4964. //
  4965. // MessageText:
  4966. //
  4967. //  The file already exists.%0
  4968. //
  4969.   NS_E_FILE_EXISTS                 = HRESULT($C00D001B);
  4970.   {$EXTERNALSYM NS_E_FILE_EXISTS}
  4971.  
  4972. //
  4973. // MessageId: NS_E_INVALID_NAME
  4974. //
  4975. // MessageText:
  4976. //
  4977. //  The file name, directory name, or volume label syntax is incorrect.%0
  4978. //
  4979.   NS_E_INVALID_NAME                = HRESULT($C00D001C);
  4980.   {$EXTERNALSYM NS_E_INVALID_NAME}
  4981.  
  4982. //
  4983. // MessageId: NS_E_FILE_OPEN_FAILED
  4984. //
  4985. // MessageText:
  4986. //
  4987. //  Failed to open a file.%0
  4988. //
  4989.   NS_E_FILE_OPEN_FAILED            = HRESULT($C00D001D);
  4990.   {$EXTERNALSYM NS_E_FILE_OPEN_FAILED}
  4991.  
  4992. //
  4993. // MessageId: NS_E_FILE_ALLOCATION_FAILED
  4994. //
  4995. // MessageText:
  4996. //
  4997. //  Unable to allocate a file.%0
  4998. //
  4999.   NS_E_FILE_ALLOCATION_FAILED      = HRESULT($C00D001E);
  5000.   {$EXTERNALSYM NS_E_FILE_ALLOCATION_FAILED}
  5001.  
  5002. //
  5003. // MessageId: NS_E_FILE_INIT_FAILED
  5004. //
  5005. // MessageText:
  5006. //
  5007. //  Unable to initialize a file.%0
  5008. //
  5009.   NS_E_FILE_INIT_FAILED            = HRESULT($C00D001F);
  5010.   {$EXTERNALSYM NS_E_FILE_INIT_FAILED}
  5011.  
  5012. //
  5013. // MessageId: NS_E_FILE_PLAY_FAILED
  5014. //
  5015. // MessageText:
  5016. //
  5017. //  Unable to play a file.%0
  5018. //
  5019.   NS_E_FILE_PLAY_FAILED            = HRESULT($C00D0020);
  5020.   {$EXTERNALSYM NS_E_FILE_PLAY_FAILED}
  5021.  
  5022. //
  5023. // MessageId: NS_E_SET_DISK_UID_FAILED
  5024. //
  5025. // MessageText:
  5026. //
  5027. //  Could not set the disk UID.%0
  5028. //
  5029.   NS_E_SET_DISK_UID_FAILED         = HRESULT($C00D0021);
  5030.   {$EXTERNALSYM NS_E_SET_DISK_UID_FAILED}
  5031.  
  5032. //
  5033. // MessageId: NS_E_INDUCED
  5034. //
  5035. // MessageText:
  5036. //
  5037. //  An error was induced for testing purposes.%0
  5038. //
  5039.   NS_E_INDUCED                     = HRESULT($C00D0022);
  5040.   {$EXTERNALSYM NS_E_INDUCED}
  5041.  
  5042. //
  5043. // MessageId: NS_E_CCLINK_DOWN
  5044. //
  5045. // MessageText:
  5046. //
  5047. //  Two Content Servers failed to communicate.%0
  5048. //
  5049.   NS_E_CCLINK_DOWN                 = HRESULT($C00D0023);
  5050.   {$EXTERNALSYM NS_E_CCLINK_DOWN}
  5051.  
  5052. //
  5053. // MessageId: NS_E_INTERNAL
  5054. //
  5055. // MessageText:
  5056. //
  5057. //  An unknown error occurred.%0
  5058. //
  5059.   NS_E_INTERNAL                    = HRESULT($C00D0024);
  5060.   {$EXTERNALSYM NS_E_INTERNAL}
  5061.  
  5062. //
  5063. // MessageId: NS_E_BUSY
  5064. //
  5065. // MessageText:
  5066. //
  5067. //  The requested resource is in use.%0
  5068. //
  5069.   NS_E_BUSY                        = HRESULT($C00D0025);
  5070.   {$EXTERNALSYM NS_E_BUSY}
  5071.  
  5072. //
  5073. // MessageId: NS_E_UNRECOGNIZED_STREAM_TYPE
  5074. //
  5075. // MessageText:
  5076. //
  5077. //  The specified protocol is not recognized. Be sure that the file name and syntax, such as slashes, are correct for the protocol.%0
  5078. //
  5079.   NS_E_UNRECOGNIZED_STREAM_TYPE    = HRESULT($C00D0026);
  5080.   {$EXTERNALSYM NS_E_UNRECOGNIZED_STREAM_TYPE}
  5081.  
  5082. //
  5083. // MessageId: NS_E_NETWORK_SERVICE_FAILURE
  5084. //
  5085. // MessageText:
  5086. //
  5087. //  The network service provider failed.%0
  5088. //
  5089.   NS_E_NETWORK_SERVICE_FAILURE     = HRESULT($C00D0027);
  5090.   {$EXTERNALSYM NS_E_NETWORK_SERVICE_FAILURE}
  5091.  
  5092. //
  5093. // MessageId: NS_E_NETWORK_RESOURCE_FAILURE
  5094. //
  5095. // MessageText:
  5096. //
  5097. //  An attempt to acquire a network resource failed.%0
  5098. //
  5099.   NS_E_NETWORK_RESOURCE_FAILURE    = HRESULT($C00D0028);
  5100.   {$EXTERNALSYM NS_E_NETWORK_RESOURCE_FAILURE}
  5101.  
  5102. //
  5103. // MessageId: NS_E_CONNECTION_FAILURE
  5104. //
  5105. // MessageText:
  5106. //
  5107. //  The network connection has failed.%0
  5108. //
  5109.   NS_E_CONNECTION_FAILURE          = HRESULT($C00D0029);
  5110.   {$EXTERNALSYM NS_E_CONNECTION_FAILURE}
  5111.  
  5112. //
  5113. // MessageId: NS_E_SHUTDOWN
  5114. //
  5115. // MessageText:
  5116. //
  5117. //  The session is being terminated locally.%0
  5118. //
  5119.   NS_E_SHUTDOWN                    = HRESULT($C00D002A);
  5120.   {$EXTERNALSYM NS_E_SHUTDOWN}
  5121.  
  5122. //
  5123. // MessageId: NS_E_INVALID_REQUEST
  5124. //
  5125. // MessageText:
  5126. //
  5127. //  The request is invalid in the current state.%0
  5128. //
  5129.   NS_E_INVALID_REQUEST             = HRESULT($C00D002B);
  5130.   {$EXTERNALSYM NS_E_INVALID_REQUEST}
  5131.  
  5132. //
  5133. // MessageId: NS_E_INSUFFICIENT_BANDWIDTH
  5134. //
  5135. // MessageText:
  5136. //
  5137. //  There is insufficient bandwidth available to fulfill the request.%0
  5138. //
  5139.   NS_E_INSUFFICIENT_BANDWIDTH      = HRESULT($C00D002C);
  5140.   {$EXTERNALSYM NS_E_INSUFFICIENT_BANDWIDTH}
  5141.  
  5142. //
  5143. // MessageId: NS_E_NOT_REBUILDING
  5144. //
  5145. // MessageText:
  5146. //
  5147. //  The disk is not rebuilding.%0
  5148. //
  5149.   NS_E_NOT_REBUILDING              = HRESULT($C00D002D);
  5150.   {$EXTERNALSYM NS_E_NOT_REBUILDING}
  5151.  
  5152. //
  5153. // MessageId: NS_E_LATE_OPERATION
  5154. //
  5155. // MessageText:
  5156. //
  5157. //  An operation requested for a particular time could not be carried out on schedule.%0
  5158. //
  5159.   NS_E_LATE_OPERATION              = HRESULT($C00D002E);
  5160.   {$EXTERNALSYM NS_E_LATE_OPERATION}
  5161.  
  5162. //
  5163. // MessageId: NS_E_INVALID_DATA
  5164. //
  5165. // MessageText:
  5166. //
  5167. //  Invalid or corrupt data was encountered.%0
  5168. //
  5169.   NS_E_INVALID_DATA                = HRESULT($C00D002F);
  5170.   {$EXTERNALSYM NS_E_INVALID_DATA}
  5171.  
  5172. //
  5173. // MessageId: NS_E_FILE_BANDWIDTH_LIMIT
  5174. //
  5175. // MessageText:
  5176. //
  5177. //  The bandwidth required to stream a file is higher than the maximum file bandwidth allowed on the server.%0
  5178. //
  5179.   NS_E_FILE_BANDWIDTH_LIMIT        = HRESULT($C00D0030);
  5180.   {$EXTERNALSYM NS_E_FILE_BANDWIDTH_LIMIT}
  5181.  
  5182. //
  5183. // MessageId: NS_E_OPEN_FILE_LIMIT
  5184. //
  5185. // MessageText:
  5186. //
  5187. //  The client cannot have any more files open simultaneously.%0
  5188. //
  5189.   NS_E_OPEN_FILE_LIMIT             = HRESULT($C00D0031);
  5190.   {$EXTERNALSYM NS_E_OPEN_FILE_LIMIT}
  5191.  
  5192. //
  5193. // MessageId: NS_E_BAD_CONTROL_DATA
  5194. //
  5195. // MessageText:
  5196. //
  5197. //  The server received invalid data from the client on the control connection.%0
  5198. //
  5199.   NS_E_BAD_CONTROL_DATA            = HRESULT($C00D0032);
  5200.   {$EXTERNALSYM NS_E_BAD_CONTROL_DATA}
  5201.  
  5202. //
  5203. // MessageId: NS_E_NO_STREAM
  5204. //
  5205. // MessageText:
  5206. //
  5207. //  There is no stream available.%0
  5208. //
  5209.   NS_E_NO_STREAM                   = HRESULT($C00D0033);
  5210.   {$EXTERNALSYM NS_E_NO_STREAM}
  5211.  
  5212. //
  5213. // MessageId: NS_E_STREAM_END
  5214. //
  5215. // MessageText:
  5216. //
  5217. //  There is no more data in the stream.%0
  5218. //
  5219.   NS_E_STREAM_END                  = HRESULT($C00D0034);
  5220.   {$EXTERNALSYM NS_E_STREAM_END}
  5221.  
  5222. //
  5223. // MessageId: NS_E_SERVER_NOT_FOUND
  5224. //
  5225. // MessageText:
  5226. //
  5227. //  The specified server could not be found.%0
  5228. //
  5229.   NS_E_SERVER_NOT_FOUND            = HRESULT($C00D0035);
  5230.   {$EXTERNALSYM NS_E_SERVER_NOT_FOUND}
  5231.  
  5232. //
  5233. // MessageId: NS_E_DUPLICATE_NAME
  5234. //
  5235. // MessageText:
  5236. //
  5237. //  The specified name is already in use.
  5238. //
  5239.   NS_E_DUPLICATE_NAME              = HRESULT($C00D0036);
  5240.   {$EXTERNALSYM NS_E_DUPLICATE_NAME}
  5241.  
  5242. //
  5243. // MessageId: NS_E_DUPLICATE_ADDRESS
  5244. //
  5245. // MessageText:
  5246. //
  5247. //  The specified address is already in use.
  5248. //
  5249.   NS_E_DUPLICATE_ADDRESS           = HRESULT($C00D0037);
  5250.   {$EXTERNALSYM NS_E_DUPLICATE_ADDRESS}
  5251.  
  5252. //
  5253. // MessageId: NS_E_BAD_MULTICAST_ADDRESS
  5254. //
  5255. // MessageText:
  5256. //
  5257. //  The specified address is not a valid multicast address.
  5258. //
  5259.   NS_E_BAD_MULTICAST_ADDRESS       = HRESULT($C00D0038);
  5260.   {$EXTERNALSYM NS_E_BAD_MULTICAST_ADDRESS}
  5261.  
  5262. //
  5263. // MessageId: NS_E_BAD_ADAPTER_ADDRESS
  5264. //
  5265. // MessageText:
  5266. //
  5267. //  The specified adapter address is invalid.
  5268. //
  5269.   NS_E_BAD_ADAPTER_ADDRESS         = HRESULT($C00D0039);
  5270.   {$EXTERNALSYM NS_E_BAD_ADAPTER_ADDRESS}
  5271.  
  5272. //
  5273. // MessageId: NS_E_BAD_DELIVERY_MODE
  5274. //
  5275. // MessageText:
  5276. //
  5277. //  The specified delivery mode is invalid.
  5278. //
  5279.   NS_E_BAD_DELIVERY_MODE           = HRESULT($C00D003A);
  5280.   {$EXTERNALSYM NS_E_BAD_DELIVERY_MODE}
  5281.  
  5282. //
  5283. // MessageId: NS_E_INVALID_CHANNEL
  5284. //
  5285. // MessageText:
  5286. //
  5287. //  The specified station does not exist.
  5288. //
  5289.   NS_E_INVALID_CHANNEL             = HRESULT($C00D003B);
  5290.   {$EXTERNALSYM NS_E_INVALID_CHANNEL}
  5291.  
  5292. //
  5293. // MessageId: NS_E_INVALID_STREAM
  5294. //
  5295. // MessageText:
  5296. //
  5297. //  The specified stream does not exist.
  5298. //
  5299.   NS_E_INVALID_STREAM              = HRESULT($C00D003C);
  5300.   {$EXTERNALSYM NS_E_INVALID_STREAM}
  5301.  
  5302. //
  5303. // MessageId: NS_E_INVALID_ARCHIVE
  5304. //
  5305. // MessageText:
  5306. //
  5307. //  The specified archive could not be opened.
  5308. //
  5309.   NS_E_INVALID_ARCHIVE             = HRESULT($C00D003D);
  5310.   {$EXTERNALSYM NS_E_INVALID_ARCHIVE}
  5311.  
  5312. //
  5313. // MessageId: NS_E_NOTITLES
  5314. //
  5315. // MessageText:
  5316. //
  5317. //  The system cannot find any titles on the server.%0
  5318. //
  5319.   NS_E_NOTITLES                    = HRESULT($C00D003E);
  5320.   {$EXTERNALSYM NS_E_NOTITLES}
  5321.  
  5322. //
  5323. // MessageId: NS_E_INVALID_CLIENT
  5324. //
  5325. // MessageText:
  5326. //
  5327. //  The system cannot find the client specified.%0
  5328. //
  5329.   NS_E_INVALID_CLIENT              = HRESULT($C00D003F);
  5330.   {$EXTERNALSYM NS_E_INVALID_CLIENT}
  5331.  
  5332. //
  5333. // MessageId: NS_E_INVALID_BLACKHOLE_ADDRESS
  5334. //
  5335. // MessageText:
  5336. //
  5337. //  The Blackhole Address is not initialized.%0
  5338. //
  5339.   NS_E_INVALID_BLACKHOLE_ADDRESS   = HRESULT($C00D0040);
  5340.   {$EXTERNALSYM NS_E_INVALID_BLACKHOLE_ADDRESS}
  5341.  
  5342. //
  5343. // MessageId: NS_E_INCOMPATIBLE_FORMAT
  5344. //
  5345. // MessageText:
  5346. //
  5347. //  The station does not support the stream format.
  5348. //
  5349.   NS_E_INCOMPATIBLE_FORMAT         = HRESULT($C00D0041);
  5350.   {$EXTERNALSYM NS_E_INCOMPATIBLE_FORMAT}
  5351.  
  5352. //
  5353. // MessageId: NS_E_INVALID_KEY
  5354. //
  5355. // MessageText:
  5356. //
  5357. //  The specified key is not valid.
  5358. //
  5359.   NS_E_INVALID_KEY                 = HRESULT($C00D0042);
  5360.   {$EXTERNALSYM NS_E_INVALID_KEY}
  5361.  
  5362. //
  5363. // MessageId: NS_E_INVALID_PORT
  5364. //
  5365. // MessageText:
  5366. //
  5367. //  The specified port is not valid.
  5368. //
  5369.   NS_E_INVALID_PORT                = HRESULT($C00D0043);
  5370.   {$EXTERNALSYM NS_E_INVALID_PORT}
  5371.  
  5372. //
  5373. // MessageId: NS_E_INVALID_TTL
  5374. //
  5375. // MessageText:
  5376. //
  5377. //  The specified TTL is not valid.
  5378. //
  5379.   NS_E_INVALID_TTL                 = HRESULT($C00D0044);
  5380.   {$EXTERNALSYM NS_E_INVALID_TTL}
  5381.  
  5382. //
  5383. // MessageId: NS_E_STRIDE_REFUSED
  5384. //
  5385. // MessageText:
  5386. //
  5387. //  The request to fast forward or rewind could not be fulfilled.
  5388. //
  5389.   NS_E_STRIDE_REFUSED              = HRESULT($C00D0045);
  5390.   {$EXTERNALSYM NS_E_STRIDE_REFUSED}
  5391.  
  5392. //
  5393. // IMmsAutoServer Errors
  5394. //
  5395. //
  5396. // MessageId: NS_E_MMSAUTOSERVER_CANTFINDWALKER
  5397. //
  5398. // MessageText:
  5399. //
  5400. //  Unable to load the appropriate file parser.%0
  5401. //
  5402.   NS_E_MMSAUTOSERVER_CANTFINDWALKER = HRESULT($C00D0046);
  5403.   {$EXTERNALSYM NS_E_MMSAUTOSERVER_CANTFINDWALKER}
  5404.  
  5405. //
  5406. // MessageId: NS_E_MAX_BITRATE
  5407. //
  5408. // MessageText:
  5409. //
  5410. //  Cannot exceed the maximum bandwidth limit.%0
  5411. //
  5412.   NS_E_MAX_BITRATE                 = HRESULT($C00D0047);
  5413.   {$EXTERNALSYM NS_E_MAX_BITRATE}
  5414.  
  5415. //
  5416. // MessageId: NS_E_LOGFILEPERIOD
  5417. //
  5418. // MessageText:
  5419. //
  5420. //  Invalid value for LogFilePeriod.%0
  5421. //
  5422.   NS_E_LOGFILEPERIOD               = HRESULT($C00D0048);
  5423.   {$EXTERNALSYM NS_E_LOGFILEPERIOD}
  5424.  
  5425. //
  5426. // MessageId: NS_E_MAX_CLIENTS
  5427. //
  5428. // MessageText:
  5429. //
  5430. //  Cannot exceed the maximum client limit.%0
  5431. //  
  5432. //
  5433.   NS_E_MAX_CLIENTS                 = HRESULT($C00D0049);
  5434.   {$EXTERNALSYM NS_E_MAX_CLIENTS}
  5435.  
  5436. //
  5437. // MessageId: NS_E_LOG_FILE_SIZE
  5438. //
  5439. // MessageText:
  5440. //
  5441. //  The maximum log file size has been reached.%0
  5442. //  
  5443. //
  5444.   NS_E_LOG_FILE_SIZE               = HRESULT($C00D004A);
  5445.   {$EXTERNALSYM NS_E_LOG_FILE_SIZE}
  5446.  
  5447. //
  5448. // MessageId: NS_E_MAX_FILERATE
  5449. //
  5450. // MessageText:
  5451. //
  5452. //  Cannot exceed the maximum file rate.%0
  5453. //
  5454.   NS_E_MAX_FILERATE                = HRESULT($C00D004B);
  5455.   {$EXTERNALSYM NS_E_MAX_FILERATE}
  5456.  
  5457. //
  5458. // File Walker Errors
  5459. //
  5460. //
  5461. // MessageId: NS_E_WALKER_UNKNOWN
  5462. //
  5463. // MessageText:
  5464. //
  5465. //  Unknown file type.%0
  5466. //
  5467.   NS_E_WALKER_UNKNOWN              = HRESULT($C00D004C);
  5468.   {$EXTERNALSYM NS_E_WALKER_UNKNOWN}
  5469.  
  5470. //
  5471. // MessageId: NS_E_WALKER_SERVER
  5472. //
  5473. // MessageText:
  5474. //
  5475. //  The specified file, %1, cannot be loaded onto the specified server, %2.%0
  5476. //
  5477.   NS_E_WALKER_SERVER               = HRESULT($C00D004D);
  5478.   {$EXTERNALSYM NS_E_WALKER_SERVER}
  5479.  
  5480. //
  5481. // MessageId: NS_E_WALKER_USAGE
  5482. //
  5483. // MessageText:
  5484. //
  5485. //  There was a usage error with file parser.%0
  5486. //
  5487.   NS_E_WALKER_USAGE                = HRESULT($C00D004E);
  5488.   {$EXTERNALSYM NS_E_WALKER_USAGE}
  5489.  
  5490.  
  5491. /////////////////////////////////////////////////////////////////////////
  5492. //
  5493. // NETSHOW Monitor Events
  5494. //
  5495. /////////////////////////////////////////////////////////////////////////
  5496.  
  5497.  
  5498.  // Tiger Events
  5499.  
  5500.  // %1 is the tiger name
  5501.  
  5502. //
  5503. // MessageId: NS_I_TIGER_START
  5504. //
  5505. // MessageText:
  5506. //
  5507. //  The Title Server %1 is running.%0
  5508. //
  5509.   NS_I_TIGER_START                 = HRESULT($400D004F);
  5510.   {$EXTERNALSYM NS_I_TIGER_START}
  5511.  
  5512. //
  5513. // MessageId: NS_E_TIGER_FAIL
  5514. //
  5515. // MessageText:
  5516. //
  5517. //  The Title Server %1 has failed.%0
  5518. //
  5519.   NS_E_TIGER_FAIL                  = HRESULT($C00D0050);
  5520.   {$EXTERNALSYM NS_E_TIGER_FAIL}
  5521.  
  5522.  
  5523.  // Cub Events
  5524.  
  5525.  // %1 is the cub ID
  5526.  // %2 is the cub name
  5527.  
  5528. //
  5529. // MessageId: NS_I_CUB_START
  5530. //
  5531. // MessageText:
  5532. //
  5533. //  Content Server %1 (%2) is starting.%0
  5534. //
  5535.   NS_I_CUB_START                   = HRESULT($400D0051);
  5536.   {$EXTERNALSYM NS_I_CUB_START}
  5537.  
  5538. //
  5539. // MessageId: NS_I_CUB_RUNNING
  5540. //
  5541. // MessageText:
  5542. //
  5543. //  Content Server %1 (%2) is running.%0
  5544. //
  5545.   NS_I_CUB_RUNNING                 = HRESULT($400D0052);
  5546.   {$EXTERNALSYM NS_I_CUB_RUNNING}
  5547.  
  5548. //
  5549. // MessageId: NS_E_CUB_FAIL
  5550. //
  5551. // MessageText:
  5552. //
  5553. //  Content Server %1 (%2) has failed.%0
  5554. //
  5555.   NS_E_CUB_FAIL                    = HRESULT($C00D0053);
  5556.   {$EXTERNALSYM NS_E_CUB_FAIL}
  5557.  
  5558.  
  5559.  // Disk Events
  5560.  
  5561.  // %1 is the tiger disk ID
  5562.  // %2 is the device name
  5563.  // %3 is the cub ID
  5564. //
  5565. // MessageId: NS_I_DISK_START
  5566. //
  5567. // MessageText:
  5568. //
  5569. //  Disk %1 ( %2 ) on Content Server %3, is running.%0
  5570. //
  5571.   NS_I_DISK_START                  = HRESULT($400D0054);
  5572.   {$EXTERNALSYM NS_I_DISK_START}
  5573.  
  5574. //
  5575. // MessageId: NS_E_DISK_FAIL
  5576. //
  5577. // MessageText:
  5578. //
  5579. //  Disk %1 ( %2 ) on Content Server %3, has failed.%0
  5580. //
  5581.   NS_E_DISK_FAIL                   = HRESULT($C00D0055);
  5582.   {$EXTERNALSYM NS_E_DISK_FAIL}
  5583.  
  5584. //
  5585. // MessageId: NS_I_DISK_REBUILD_STARTED
  5586. //
  5587. // MessageText:
  5588. //
  5589. //  Started rebuilding disk %1 ( %2 ) on Content Server %3.%0
  5590. //
  5591.   NS_I_DISK_REBUILD_STARTED        = HRESULT($400D0056);
  5592.   {$EXTERNALSYM NS_I_DISK_REBUILD_STARTED}
  5593.  
  5594. //
  5595. // MessageId: NS_I_DISK_REBUILD_FINISHED
  5596. //
  5597. // MessageText:
  5598. //
  5599. //  Finished rebuilding disk %1 ( %2 ) on Content Server %3.%0
  5600. //
  5601.   NS_I_DISK_REBUILD_FINISHED       = HRESULT($400D0057);
  5602.   {$EXTERNALSYM NS_I_DISK_REBUILD_FINISHED}
  5603.  
  5604. //
  5605. // MessageId: NS_I_DISK_REBUILD_ABORTED
  5606. //
  5607. // MessageText:
  5608. //
  5609. //  Aborted rebuilding disk %1 ( %2 ) on Content Server %3.%0
  5610. //
  5611.   NS_I_DISK_REBUILD_ABORTED        = HRESULT($400D0058);
  5612.   {$EXTERNALSYM NS_I_DISK_REBUILD_ABORTED}
  5613.  
  5614.  
  5615.  // Admin Events
  5616.  
  5617. //
  5618. // MessageId: NS_I_LIMIT_FUNNELS
  5619. //
  5620. // MessageText:
  5621. //
  5622. //  A NetShow administrator at network location %1 set the data stream limit to %2 streams.%0
  5623. //
  5624.   NS_I_LIMIT_FUNNELS               = HRESULT($400D0059);
  5625.   {$EXTERNALSYM NS_I_LIMIT_FUNNELS}
  5626.  
  5627. //
  5628. // MessageId: NS_I_START_DISK
  5629. //
  5630. // MessageText:
  5631. //
  5632. //  A NetShow administrator at network location %1 started disk %2.%0
  5633. //
  5634.   NS_I_START_DISK                  = HRESULT($400D005A);
  5635.   {$EXTERNALSYM NS_I_START_DISK}
  5636.  
  5637. //
  5638. // MessageId: NS_I_STOP_DISK
  5639. //
  5640. // MessageText:
  5641. //
  5642. //  A NetShow administrator at network location %1 stopped disk %2.%0
  5643. //
  5644.   NS_I_STOP_DISK                   = HRESULT($400D005B);
  5645.   {$EXTERNALSYM NS_I_STOP_DISK}
  5646.  
  5647. //
  5648. // MessageId: NS_I_STOP_CUB
  5649. //
  5650. // MessageText:
  5651. //
  5652. //  A NetShow administrator at network location %1 stopped Content Server %2.%0
  5653. //
  5654.   NS_I_STOP_CUB                    = HRESULT($400D005C);
  5655.   {$EXTERNALSYM NS_I_STOP_CUB}
  5656.  
  5657. //
  5658. // MessageId: NS_I_KILL_USERSESSION
  5659. //
  5660. // MessageText:
  5661. //
  5662. //  A NetShow administrator at network location %1 aborted user session %2 from the system.%0
  5663. //
  5664.   NS_I_KILL_USERSESSION            = HRESULT($400D005D);
  5665.   {$EXTERNALSYM NS_I_KILL_USERSESSION}
  5666.  
  5667. //
  5668. // MessageId: NS_I_KILL_CONNECTION
  5669. //
  5670. // MessageText:
  5671. //
  5672. //  A NetShow administrator at network location %1 aborted obsolete connection %2 from the system.%0
  5673. //
  5674.   NS_I_KILL_CONNECTION             = HRESULT($400D005E);
  5675.   {$EXTERNALSYM NS_I_KILL_CONNECTION}
  5676.  
  5677. //
  5678. // MessageId: NS_I_REBUILD_DISK
  5679. //
  5680. // MessageText:
  5681. //
  5682. //  A NetShow administrator at network location %1 started rebuilding disk %2.%0
  5683. //
  5684.   NS_I_REBUILD_DISK                = HRESULT($400D005F);
  5685.   {$EXTERNALSYM NS_I_REBUILD_DISK}
  5686.  
  5687. //
  5688. // MessageId: NS_W_UNKNOWN_EVENT
  5689. //
  5690. // MessageText:
  5691. //
  5692. //  Unknown %1 event encountered.%0
  5693. //
  5694.   NS_W_UNKNOWN_EVENT               = HRESULT($800D0060);
  5695.   {$EXTERNALSYM NS_W_UNKNOWN_EVENT}
  5696.  
  5697.  
  5698.  // Alerts
  5699.  
  5700. //
  5701. // MessageId: NS_E_MAX_FUNNELS_ALERT
  5702. //
  5703. // MessageText:
  5704. //
  5705. //  The NetShow data stream limit of %1 streams was reached.%0
  5706. //
  5707.   NS_E_MAX_FUNNELS_ALERT           = HRESULT($C00D0060);
  5708.   {$EXTERNALSYM NS_E_MAX_FUNNELS_ALERT}
  5709.  
  5710. //
  5711. // MessageId: NS_E_ALLOCATE_FILE_FAIL
  5712. //
  5713. // MessageText:
  5714. //
  5715. //  The NetShow Video Server was unable to allocate a %1 block file named %2.%0
  5716. //
  5717.   NS_E_ALLOCATE_FILE_FAIL          = HRESULT($C00D0061);
  5718.   {$EXTERNALSYM NS_E_ALLOCATE_FILE_FAIL}
  5719.  
  5720. //
  5721. // MessageId: NS_E_PAGING_ERROR
  5722. //
  5723. // MessageText:
  5724. //
  5725. //  A Content Server was unable to page a block.%0
  5726. //
  5727.   NS_E_PAGING_ERROR                = HRESULT($C00D0062);
  5728.   {$EXTERNALSYM NS_E_PAGING_ERROR}
  5729.  
  5730. //
  5731. // MessageId: NS_E_BAD_BLOCK0_VERSION
  5732. //
  5733. // MessageText:
  5734. //
  5735. //  Disk %1 has unrecognized control block version %2.%0
  5736. //
  5737.   NS_E_BAD_BLOCK0_VERSION          = HRESULT($C00D0063);
  5738.   {$EXTERNALSYM NS_E_BAD_BLOCK0_VERSION}
  5739.  
  5740. //
  5741. // MessageId: NS_E_BAD_DISK_UID
  5742. //
  5743. // MessageText:
  5744. //
  5745. //  Disk %1 has incorrect uid %2.%0
  5746. //
  5747.   NS_E_BAD_DISK_UID                = HRESULT($C00D0064);
  5748.   {$EXTERNALSYM NS_E_BAD_DISK_UID}
  5749.  
  5750. //
  5751. // MessageId: NS_E_BAD_FSMAJOR_VERSION
  5752. //
  5753. // MessageText:
  5754. //
  5755. //  Disk %1 has unsupported file system major version %2.%0
  5756. //
  5757.   NS_E_BAD_FSMAJOR_VERSION         = HRESULT($C00D0065);
  5758.   {$EXTERNALSYM NS_E_BAD_FSMAJOR_VERSION}
  5759.  
  5760. //
  5761. // MessageId: NS_E_BAD_STAMPNUMBER
  5762. //
  5763. // MessageText:
  5764. //
  5765. //  Disk %1 has bad stamp number in control block.%0
  5766. //
  5767.   NS_E_BAD_STAMPNUMBER             = HRESULT($C00D0066);
  5768.   {$EXTERNALSYM NS_E_BAD_STAMPNUMBER}
  5769.  
  5770. //
  5771. // MessageId: NS_E_PARTIALLY_REBUILT_DISK
  5772. //
  5773. // MessageText:
  5774. //
  5775. //  Disk %1 is partially reconstructed.%0
  5776. //
  5777.   NS_E_PARTIALLY_REBUILT_DISK      = HRESULT($C00D0067);
  5778.   {$EXTERNALSYM NS_E_PARTIALLY_REBUILT_DISK}
  5779.  
  5780. //
  5781. // MessageId: NS_E_ENACTPLAN_GIVEUP
  5782. //
  5783. // MessageText:
  5784. //
  5785. //  EnactPlan gives up.%0
  5786. //
  5787.   NS_E_ENACTPLAN_GIVEUP            = HRESULT($C00D0068);
  5788.   {$EXTERNALSYM NS_E_ENACTPLAN_GIVEUP}
  5789.  
  5790.  
  5791.  // MCMADM warnings/errors
  5792.  
  5793. //
  5794. // MessageId: MCMADM_I_NO_EVENTS
  5795. //
  5796. // MessageText:
  5797. //
  5798. //  Event initialization failed, there will be no MCM events.%0
  5799. //
  5800.   MCMADM_I_NO_EVENTS               = HRESULT($400D0069);
  5801.   {$EXTERNALSYM MCMADM_I_NO_EVENTS}
  5802.  
  5803. //
  5804. // MessageId: MCMADM_E_REGKEY_NOT_FOUND
  5805. //
  5806. // MessageText:
  5807. //
  5808. //  The key was not found in the registry.%0
  5809. //
  5810.   MCMADM_E_REGKEY_NOT_FOUND        = HRESULT($C00D006A);
  5811.   {$EXTERNALSYM MCMADM_E_REGKEY_NOT_FOUND}
  5812.  
  5813. //
  5814. // MessageId: NS_E_NO_FORMATS
  5815. //
  5816. // MessageText:
  5817. //
  5818. //  The publishing point cannot be started because the server does not have the appropriate stream formats. Use the Multicast Announcement Wizard to create a new announcement for this publishing point.%0
  5819. //
  5820.   NS_E_NO_FORMATS                  = HRESULT($C00D006B);
  5821.   {$EXTERNALSYM NS_E_NO_FORMATS}
  5822.  
  5823. //
  5824. // MessageId: NS_E_NO_REFERENCES
  5825. //
  5826. // MessageText:
  5827. //
  5828. //  No reference URLs were found in an ASX file.%0
  5829. //
  5830.   NS_E_NO_REFERENCES               = HRESULT($C00D006C);
  5831.   {$EXTERNALSYM NS_E_NO_REFERENCES}
  5832.  
  5833. //
  5834. // MessageId: NS_E_WAVE_OPEN
  5835. //
  5836. // MessageText:
  5837. //
  5838. //  Error opening wave device, the device might be in use.%0
  5839. //
  5840.   NS_E_WAVE_OPEN                   = HRESULT($C00D006D);
  5841.   {$EXTERNALSYM NS_E_WAVE_OPEN}
  5842.  
  5843. //
  5844. // MessageId: NS_I_LOGGING_FAILED
  5845. //
  5846. // MessageText:
  5847. //
  5848. //  The logging operation failed.
  5849. //
  5850.   NS_I_LOGGING_FAILED              = HRESULT($400D006E);
  5851.   {$EXTERNALSYM NS_I_LOGGING_FAILED}
  5852.  
  5853. //
  5854. // MessageId: NS_E_CANNOTCONNECTEVENTS
  5855. //
  5856. // MessageText:
  5857. //
  5858. //  Unable to establish a connection to the NetShow event monitor service.%0
  5859. //
  5860.   NS_E_CANNOTCONNECTEVENTS         = HRESULT($C00D006F);
  5861.   {$EXTERNALSYM NS_E_CANNOTCONNECTEVENTS}
  5862.  
  5863. //
  5864. // MessageId: NS_I_LIMIT_BANDWIDTH
  5865. //
  5866. // MessageText:
  5867. //
  5868. //  A NetShow administrator at network location %1 set the maximum bandwidth limit to %2 bps.%0
  5869. //
  5870.   NS_I_LIMIT_BANDWIDTH             = HRESULT($400D0070);
  5871.   {$EXTERNALSYM NS_I_LIMIT_BANDWIDTH}
  5872.  
  5873. //
  5874. // MessageId: NS_E_NO_DEVICE
  5875. //
  5876. // MessageText:
  5877. //
  5878. //  No device driver is present on the system.%0
  5879. //
  5880.   NS_E_NO_DEVICE                   = HRESULT($C00D0071);
  5881.   {$EXTERNALSYM NS_E_NO_DEVICE}
  5882.  
  5883. //
  5884. // MessageId: NS_E_NO_SPECIFIED_DEVICE
  5885. //
  5886. // MessageText:
  5887. //
  5888. //  No specified device driver is present.%0
  5889. //
  5890.   NS_E_NO_SPECIFIED_DEVICE         = HRESULT($C00D0072);
  5891.   {$EXTERNALSYM NS_E_NO_SPECIFIED_DEVICE}
  5892.  
  5893.  
  5894. // NOTENOTE!!!
  5895. //
  5896. // Due to legacy problems these error codes live inside the ASF error code range
  5897. //
  5898. //
  5899. // MessageId: NS_E_NOTHING_TO_DO
  5900. //
  5901. // MessageText:
  5902. //
  5903. //  NS_E_NOTHING_TO_DO
  5904. //
  5905.   NS_E_NOTHING_TO_DO               = HRESULT($C00D07F1);
  5906.   {$EXTERNALSYM NS_E_NOTHING_TO_DO}
  5907.  
  5908. //
  5909. // MessageId: NS_E_NO_MULTICAST
  5910. //
  5911. // MessageText:
  5912. //
  5913. //  Not receiving data from the server.%0
  5914. //
  5915.   NS_E_NO_MULTICAST                = HRESULT($C00D07F2);
  5916.   {$EXTERNALSYM NS_E_NO_MULTICAST}
  5917.  
  5918.  
  5919. /////////////////////////////////////////////////////////////////////////
  5920. //
  5921. // NETSHOW Error Events
  5922. //
  5923. // IdRange = 200..399
  5924. //
  5925. /////////////////////////////////////////////////////////////////////////
  5926.  
  5927. //
  5928. // MessageId: NS_E_MONITOR_GIVEUP
  5929. //
  5930. // MessageText:
  5931. //
  5932. //  Netshow Events Monitor is not operational and has been disconnected.%0
  5933. //
  5934.   NS_E_MONITOR_GIVEUP              = HRESULT($C00D00C8);
  5935.   {$EXTERNALSYM NS_E_MONITOR_GIVEUP}
  5936.  
  5937. //
  5938. // MessageId: NS_E_REMIRRORED_DISK
  5939. //
  5940. // MessageText:
  5941. //
  5942. //  Disk %1 is remirrored.%0
  5943. //
  5944.   NS_E_REMIRRORED_DISK             = HRESULT($C00D00C9);
  5945.   {$EXTERNALSYM NS_E_REMIRRORED_DISK}
  5946.  
  5947. //
  5948. // MessageId: NS_E_INSUFFICIENT_DATA
  5949. //
  5950. // MessageText:
  5951. //
  5952. //  Insufficient data found.%0
  5953. //
  5954.   NS_E_INSUFFICIENT_DATA           = HRESULT($C00D00CA);
  5955.   {$EXTERNALSYM NS_E_INSUFFICIENT_DATA}
  5956.  
  5957. //
  5958. // MessageId: NS_E_ASSERT
  5959. //
  5960. // MessageText:
  5961. //
  5962. //  %1 failed in file %2 line %3.%0
  5963. //
  5964.   NS_E_ASSERT                      = HRESULT($C00D00CB);
  5965.   {$EXTERNALSYM NS_E_ASSERT}
  5966.  
  5967. //
  5968. // MessageId: NS_E_BAD_ADAPTER_NAME
  5969. //
  5970. // MessageText:
  5971. //
  5972. //  The specified adapter name is invalid.%0
  5973. //
  5974.   NS_E_BAD_ADAPTER_NAME            = HRESULT($C00D00CC);
  5975.   {$EXTERNALSYM NS_E_BAD_ADAPTER_NAME}
  5976.  
  5977. //
  5978. // MessageId: NS_E_NOT_LICENSED
  5979. //
  5980. // MessageText:
  5981. //
  5982. //  The application is not licensed for this feature.%0
  5983. //
  5984.   NS_E_NOT_LICENSED                = HRESULT($C00D00CD);
  5985.   {$EXTERNALSYM NS_E_NOT_LICENSED}
  5986.  
  5987. //
  5988. // MessageId: NS_E_NO_SERVER_CONTACT
  5989. //
  5990. // MessageText:
  5991. //
  5992. //  Unable to contact the server.%0
  5993. //
  5994.   NS_E_NO_SERVER_CONTACT           = HRESULT($C00D00CE);
  5995.   {$EXTERNALSYM NS_E_NO_SERVER_CONTACT}
  5996.  
  5997. //
  5998. // MessageId: NS_E_TOO_MANY_TITLES
  5999. //
  6000. // MessageText:
  6001. //
  6002. //  Maximum number of titles exceeded.%0
  6003. //
  6004.   NS_E_TOO_MANY_TITLES             = HRESULT($C00D00CF);
  6005.   {$EXTERNALSYM NS_E_TOO_MANY_TITLES}
  6006.  
  6007. //
  6008. // MessageId: NS_E_TITLE_SIZE_EXCEEDED
  6009. //
  6010. // MessageText:
  6011. //
  6012. //  Maximum size of a title exceeded.%0
  6013. //
  6014.   NS_E_TITLE_SIZE_EXCEEDED         = HRESULT($C00D00D0);
  6015.   {$EXTERNALSYM NS_E_TITLE_SIZE_EXCEEDED}
  6016.  
  6017. //
  6018. // MessageId: NS_E_UDP_DISABLED
  6019. //
  6020. // MessageText:
  6021. //
  6022. //  UDP protocol not enabled. Not trying %1!ls!.%0
  6023. //
  6024.   NS_E_UDP_DISABLED                = HRESULT($C00D00D1);
  6025.   {$EXTERNALSYM NS_E_UDP_DISABLED}
  6026.  
  6027. //
  6028. // MessageId: NS_E_TCP_DISABLED
  6029. //
  6030. // MessageText:
  6031. //
  6032. //  TCP protocol not enabled. Not trying %1!ls!.%0
  6033. //
  6034.   NS_E_TCP_DISABLED                = HRESULT($C00D00D2);
  6035.   {$EXTERNALSYM NS_E_TCP_DISABLED}
  6036.  
  6037. //
  6038. // MessageId: NS_E_HTTP_DISABLED
  6039. //
  6040. // MessageText:
  6041. //
  6042. //  HTTP protocol not enabled. Not trying %1!ls!.%0
  6043. //
  6044.   NS_E_HTTP_DISABLED               = HRESULT($C00D00D3);
  6045.   {$EXTERNALSYM NS_E_HTTP_DISABLED}
  6046.  
  6047. //
  6048. // MessageId: NS_E_LICENSE_EXPIRED
  6049. //
  6050. // MessageText:
  6051. //
  6052. //  The product license has expired.%0
  6053. //
  6054.   NS_E_LICENSE_EXPIRED             = HRESULT($C00D00D4);
  6055.   {$EXTERNALSYM NS_E_LICENSE_EXPIRED}
  6056.  
  6057. //
  6058. // MessageId: NS_E_TITLE_BITRATE
  6059. //
  6060. // MessageText:
  6061. //
  6062. //  Source file exceeds the per title maximum bitrate. See NetShow Theater documentation for more information.%0
  6063. //
  6064.   NS_E_TITLE_BITRATE               = HRESULT($C00D00D5);
  6065.   {$EXTERNALSYM NS_E_TITLE_BITRATE}
  6066.  
  6067. //
  6068. // MessageId: NS_E_EMPTY_PROGRAM_NAME
  6069. //
  6070. // MessageText:
  6071. //
  6072. //  The program name cannot be empty.%0
  6073. //
  6074.   NS_E_EMPTY_PROGRAM_NAME          = HRESULT($C00D00D6);
  6075.   {$EXTERNALSYM NS_E_EMPTY_PROGRAM_NAME}
  6076.  
  6077. //
  6078. // MessageId: NS_E_MISSING_CHANNEL
  6079. //
  6080. // MessageText:
  6081. //
  6082. //  Station %1 does not exist.%0
  6083. //
  6084.   NS_E_MISSING_CHANNEL             = HRESULT($C00D00D7);
  6085.   {$EXTERNALSYM NS_E_MISSING_CHANNEL}
  6086.  
  6087. //
  6088. // MessageId: NS_E_NO_CHANNELS
  6089. //
  6090. // MessageText:
  6091. //
  6092. //  You need to define at least one station before this operation can complete.%0
  6093. //
  6094.   NS_E_NO_CHANNELS                 = HRESULT($C00D00D8);
  6095.   {$EXTERNALSYM NS_E_NO_CHANNELS}
  6096.  
  6097.  
  6098. /////////////////////////////////////////////////////////////////////
  6099. // This error message is to replace previous NS_E_INVALID_INDEX which
  6100. // takes an index value for the error message string.  For some application
  6101. // obtain the idex value at reporting error time is very difficult, so we
  6102. // use this string to avoid the problem.
  6103. //////////////////////////////////////////////////////////////////////
  6104.  
  6105. //
  6106. // MessageId: NS_E_INVALID_INDEX2
  6107. //
  6108. // MessageText:
  6109. //
  6110. //  The index specified is invalid.%0
  6111. //
  6112.   NS_E_INVALID_INDEX2              = HRESULT($C00D00D9);
  6113.   {$EXTERNALSYM NS_E_INVALID_INDEX2}
  6114.  
  6115.  
  6116. /////////////////////////////////////////////////////////////////////////
  6117. //
  6118. // NETSHOW Monitor Events
  6119. //
  6120. // IdRange = 400..599
  6121. //
  6122. // Admin Events:
  6123. //
  6124. // Alerts:
  6125. //
  6126. // Title Server:
  6127. //      %1 is the Title Server name
  6128. //
  6129. // Content Server:
  6130. //      %1 is the Content Server ID
  6131. //      %2 is the Content Server name
  6132. //      %3 is the Peer Content Server name (optiona);
  6133. //
  6134. // Disks:
  6135. //      %1 is the Title Server disk ID
  6136. //      %2 is the device name
  6137. //      %3 is the Content Server ID
  6138. //
  6139. /////////////////////////////////////////////////////////////////////////
  6140.  
  6141. //
  6142. // MessageId: NS_E_CUB_FAIL_LINK
  6143. //
  6144. // MessageText:
  6145. //
  6146. //  Content Server %1 (%2) has failed its link to Content Server %3.%0
  6147. //
  6148.   NS_E_CUB_FAIL_LINK               = HRESULT($C00D0190);
  6149.   {$EXTERNALSYM NS_E_CUB_FAIL_LINK}
  6150.  
  6151. //
  6152. // MessageId: NS_I_CUB_UNFAIL_LINK
  6153. //
  6154. // MessageText:
  6155. //
  6156. //  Content Server %1 (%2) has established its link to Content Server %3.%0
  6157. //
  6158.   NS_I_CUB_UNFAIL_LINK             = HRESULT($400D0191);
  6159.   {$EXTERNALSYM NS_I_CUB_UNFAIL_LINK}
  6160.  
  6161. //
  6162. // MessageId: NS_E_BAD_CUB_UID
  6163. //
  6164. // MessageText:
  6165. //
  6166. //  Content Server %1 (%2) has incorrect uid %3.%0
  6167. //
  6168.   NS_E_BAD_CUB_UID                 = HRESULT($C00D0192);
  6169.   {$EXTERNALSYM NS_E_BAD_CUB_UID}
  6170.  
  6171. //
  6172. // MessageId: NS_I_RESTRIPE_START
  6173. //
  6174. // MessageText:
  6175. //
  6176. //  Restripe operation has started.%0
  6177. //
  6178.   NS_I_RESTRIPE_START              = HRESULT($400D0193);
  6179.   {$EXTERNALSYM NS_I_RESTRIPE_START}
  6180.  
  6181. //
  6182. // MessageId: NS_I_RESTRIPE_DONE
  6183. //
  6184. // MessageText:
  6185. //
  6186. //  Restripe operation has completed.%0
  6187. //
  6188.   NS_I_RESTRIPE_DONE               = HRESULT($400D0194);
  6189.   {$EXTERNALSYM NS_I_RESTRIPE_DONE}
  6190.  
  6191. //
  6192. // MessageId: NS_E_GLITCH_MODE
  6193. //
  6194. // MessageText:
  6195. //
  6196. //  Server unreliable because multiple components failed.%0
  6197. //
  6198.   NS_E_GLITCH_MODE                 = HRESULT($C00D0195);
  6199.   {$EXTERNALSYM NS_E_GLITCH_MODE}
  6200.  
  6201. //
  6202. // MessageId: NS_I_RESTRIPE_DISK_OUT
  6203. //
  6204. // MessageText:
  6205. //
  6206. //  Content disk %1 (%2) on Content Server %3 has been restriped out.%0
  6207. //
  6208.   NS_I_RESTRIPE_DISK_OUT           = HRESULT($400D0196);
  6209.   {$EXTERNALSYM NS_I_RESTRIPE_DISK_OUT}
  6210.  
  6211. //
  6212. // MessageId: NS_I_RESTRIPE_CUB_OUT
  6213. //
  6214. // MessageText:
  6215. //
  6216. //  Content server %1 (%2) has been restriped out.%0
  6217. //
  6218.   NS_I_RESTRIPE_CUB_OUT            = HRESULT($400D0197);
  6219.   {$EXTERNALSYM NS_I_RESTRIPE_CUB_OUT}
  6220.  
  6221. //
  6222. // MessageId: NS_I_DISK_STOP
  6223. //
  6224. // MessageText:
  6225. //
  6226. //  Disk %1 ( %2 ) on Content Server %3, has been offlined.%0
  6227. //
  6228.   NS_I_DISK_STOP                   = HRESULT($400D0198);
  6229.   {$EXTERNALSYM NS_I_DISK_STOP}
  6230.  
  6231. //
  6232. // MessageId: NS_I_CATATONIC_FAILURE
  6233. //
  6234. // MessageText:
  6235. //
  6236. //  Disk %1 ( %2 ) on Content Server %3, will be failed because it is catatonic.%0
  6237. //
  6238.   NS_I_CATATONIC_FAILURE           = HRESULT($800D0199);
  6239.   {$EXTERNALSYM NS_I_CATATONIC_FAILURE}
  6240.  
  6241. //
  6242. // MessageId: NS_I_CATATONIC_AUTO_UNFAIL
  6243. //
  6244. // MessageText:
  6245. //
  6246. //  Disk %1 ( %2 ) on Content Server %3, auto online from catatonic state.%0
  6247. //
  6248.   NS_I_CATATONIC_AUTO_UNFAIL       = HRESULT($800D019A);
  6249.   {$EXTERNALSYM NS_I_CATATONIC_AUTO_UNFAIL}
  6250.  
  6251. //
  6252. // MessageId: NS_E_NO_MEDIA_PROTOCOL
  6253. //
  6254. // MessageText:
  6255. //
  6256. //  Content Server %1 (%2) is unable to communicate with the Media System Network Protocol.%0
  6257. //
  6258.   NS_E_NO_MEDIA_PROTOCOL           = HRESULT($C00D019B);
  6259.   {$EXTERNALSYM NS_E_NO_MEDIA_PROTOCOL}
  6260.  
  6261.  
  6262. //
  6263. // Advanced Streaming Format (ASF) codes occupy MessageIds 2000-2999
  6264. //
  6265. // See ASFErr.mc for more details - please do not define any symbols
  6266. // in that range in this file.
  6267. //
  6268.  
  6269.  
  6270. /////////////////////////////////////////////////////////////////////////
  6271. //
  6272. // Windows Media SDK Errors
  6273. //
  6274. // IdRange = 3000-3199
  6275. //
  6276. /////////////////////////////////////////////////////////////////////////
  6277.  
  6278. //
  6279. // MessageId: NS_E_INVALID_INPUT_FORMAT
  6280. //
  6281. // MessageText:
  6282. //
  6283. //  The input media format is invalid.%0
  6284. //
  6285.   NS_E_INVALID_INPUT_FORMAT        = HRESULT($C00D0BB8);
  6286.   {$EXTERNALSYM NS_E_INVALID_INPUT_FORMAT}
  6287.  
  6288. //
  6289. // MessageId: NS_E_MSAUDIO_NOT_INSTALLED
  6290. //
  6291. // MessageText:
  6292. //
  6293. //  The MSAudio codec is not installed on this system.%0
  6294. //
  6295.   NS_E_MSAUDIO_NOT_INSTALLED       = HRESULT($C00D0BB9);
  6296.   {$EXTERNALSYM NS_E_MSAUDIO_NOT_INSTALLED}
  6297.  
  6298. //
  6299. // MessageId: NS_E_UNEXPECTED_MSAUDIO_ERROR
  6300. //
  6301. // MessageText:
  6302. //
  6303. //  An unexpected error occurred with the MSAudio codec.%0
  6304. //
  6305.   NS_E_UNEXPECTED_MSAUDIO_ERROR    = HRESULT($C00D0BBA);
  6306.   {$EXTERNALSYM NS_E_UNEXPECTED_MSAUDIO_ERROR}
  6307.  
  6308. //
  6309. // MessageId: NS_E_INVALID_OUTPUT_FORMAT
  6310. //
  6311. // MessageText:
  6312. //
  6313. //  The output media format is invalid.%0
  6314. //
  6315.   NS_E_INVALID_OUTPUT_FORMAT       = HRESULT($C00D0BBB);
  6316.   {$EXTERNALSYM NS_E_INVALID_OUTPUT_FORMAT}
  6317.  
  6318. //
  6319. // MessageId: NS_E_NOT_CONFIGURED
  6320. //
  6321. // MessageText:
  6322. //
  6323. //  The object must be fully configured before audio samples can be processed.%0
  6324. //
  6325.   NS_E_NOT_CONFIGURED              = HRESULT($C00D0BBC);
  6326.   {$EXTERNALSYM NS_E_NOT_CONFIGURED}
  6327.  
  6328. //
  6329. // MessageId: NS_E_PROTECTED_CONTENT
  6330. //
  6331. // MessageText:
  6332. //
  6333. //  You need a license to perform the requested operation on this media file.%0
  6334. //
  6335.   NS_E_PROTECTED_CONTENT           = HRESULT($C00D0BBD);
  6336.   {$EXTERNALSYM NS_E_PROTECTED_CONTENT}
  6337.  
  6338. //
  6339. // MessageId: NS_E_LICENSE_REQUIRED
  6340. //
  6341. // MessageText:
  6342. //
  6343. //  You need a license to perform the requested operation on this media file.%0
  6344. //
  6345.   NS_E_LICENSE_REQUIRED            = HRESULT($C00D0BBE);
  6346.   {$EXTERNALSYM NS_E_LICENSE_REQUIRED}
  6347.  
  6348. //
  6349. // MessageId: NS_E_TAMPERED_CONTENT
  6350. //
  6351. // MessageText:
  6352. //
  6353. //  This media file is corrupted or invalid. Contact the content provider for a new file.%0
  6354. //
  6355.   NS_E_TAMPERED_CONTENT            = HRESULT($C00D0BBF);
  6356.   {$EXTERNALSYM NS_E_TAMPERED_CONTENT}
  6357.  
  6358. //
  6359. // MessageId: NS_E_LICENSE_OUTOFDATE
  6360. //
  6361. // MessageText:
  6362. //
  6363. //  The license for this media file has expired. Get a new license or contact the content provider for further assistance.%0
  6364. //
  6365.   NS_E_LICENSE_OUTOFDATE           = HRESULT($C00D0BC0);
  6366.   {$EXTERNALSYM NS_E_LICENSE_OUTOFDATE}
  6367.  
  6368. //
  6369. // MessageId: NS_E_LICENSE_INCORRECT_RIGHTS
  6370. //
  6371. // MessageText:
  6372. //
  6373. //  You are not allowed to open this file. Contact the content provider for further assistance.%0
  6374. //
  6375.   NS_E_LICENSE_INCORRECT_RIGHTS    = HRESULT($C00D0BC1);
  6376.   {$EXTERNALSYM NS_E_LICENSE_INCORRECT_RIGHTS}
  6377.  
  6378. //
  6379. // MessageId: NS_E_AUDIO_CODEC_NOT_INSTALLED
  6380. //
  6381. // MessageText:
  6382. //
  6383. //  The requested audio codec is not installed on this system.%0
  6384. //
  6385.   NS_E_AUDIO_CODEC_NOT_INSTALLED   = HRESULT($C00D0BC2);
  6386.   {$EXTERNALSYM NS_E_AUDIO_CODEC_NOT_INSTALLED}
  6387.  
  6388. //
  6389. // MessageId: NS_E_AUDIO_CODEC_ERROR
  6390. //
  6391. // MessageText:
  6392. //
  6393. //  An unexpected error occurred with the audio codec.%0
  6394. //
  6395.   NS_E_AUDIO_CODEC_ERROR           = HRESULT($C00D0BC3);
  6396.   {$EXTERNALSYM NS_E_AUDIO_CODEC_ERROR}
  6397.  
  6398. //
  6399. // MessageId: NS_E_VIDEO_CODEC_NOT_INSTALLED
  6400. //
  6401. // MessageText:
  6402. //
  6403. //  The requested video codec is not installed on this system.%0
  6404. //
  6405.   NS_E_VIDEO_CODEC_NOT_INSTALLED   = HRESULT($C00D0BC4);
  6406.   {$EXTERNALSYM NS_E_VIDEO_CODEC_NOT_INSTALLED}
  6407.  
  6408. //
  6409. // MessageId: NS_E_VIDEO_CODEC_ERROR
  6410. //
  6411. // MessageText:
  6412. //
  6413. //  An unexpected error occurred with the video codec.%0
  6414. //
  6415.   NS_E_VIDEO_CODEC_ERROR           = HRESULT($C00D0BC5);
  6416.   {$EXTERNALSYM NS_E_VIDEO_CODEC_ERROR}
  6417.  
  6418. //
  6419. // MessageId: NS_E_INVALIDPROFILE
  6420. //
  6421. // MessageText:
  6422. //
  6423. //  The Profile is invalid.%0
  6424. //
  6425.   NS_E_INVALIDPROFILE              = HRESULT($C00D0BC6);
  6426.   {$EXTERNALSYM NS_E_INVALIDPROFILE}
  6427.  
  6428. //
  6429. // MessageId: NS_E_INCOMPATIBLE_VERSION
  6430. //
  6431. // MessageText:
  6432. //
  6433. //  A new version of the SDK is needed to play the requested content.%0
  6434. //
  6435.   NS_E_INCOMPATIBLE_VERSION        = HRESULT($C00D0BC7);
  6436.   {$EXTERNALSYM NS_E_INCOMPATIBLE_VERSION}
  6437.  
  6438. //
  6439. // MessageId: NS_S_REBUFFERING
  6440. //
  6441. // MessageText:
  6442. //
  6443. //  The requested operation has caused the source to rebuffer.%0
  6444. //
  6445.   NS_S_REBUFFERING                 = HRESULT($000D0BC8);
  6446.   {$EXTERNALSYM NS_S_REBUFFERING}
  6447.  
  6448. //
  6449. // MessageId: NS_S_DEGRADING_QUALITY
  6450. //
  6451. // MessageText:
  6452. //
  6453. //  The requested operation has caused the source to degrade codec quality.%0
  6454. //
  6455.   NS_S_DEGRADING_QUALITY           = HRESULT($000D0BC9);
  6456.   {$EXTERNALSYM NS_S_DEGRADING_QUALITY}
  6457.  
  6458. //
  6459. // MessageId: NS_E_OFFLINE_MODE
  6460. //
  6461. // MessageText:
  6462. //
  6463. //  The requested URL is not available in offline mode.%0
  6464. //
  6465.   NS_E_OFFLINE_MODE                = HRESULT($C00D0BCA);
  6466.   {$EXTERNALSYM NS_E_OFFLINE_MODE}
  6467.  
  6468. //
  6469. // MessageId: NS_E_NOT_CONNECTED
  6470. //
  6471. // MessageText:
  6472. //
  6473. //  The requested URL cannot be accessed because there is no network connection.%0
  6474. //
  6475.   NS_E_NOT_CONNECTED               = HRESULT($C00D0BCB);
  6476.   {$EXTERNALSYM NS_E_NOT_CONNECTED}
  6477.  
  6478. //
  6479. // MessageId: NS_E_TOO_MUCH_DATA
  6480. //
  6481. // MessageText:
  6482. //
  6483. //  The encoding process was unable to keep up with the amount of supplied data.%0
  6484. //
  6485.   NS_E_TOO_MUCH_DATA               = HRESULT($C00D0BCC);
  6486.   {$EXTERNALSYM NS_E_TOO_MUCH_DATA}
  6487.  
  6488. //
  6489. // MessageId: NS_E_UNSUPPORTED_PROPERTY
  6490. //
  6491. // MessageText:
  6492. //
  6493. //  The given property is not supported.%0
  6494. //
  6495.   NS_E_UNSUPPORTED_PROPERTY        = HRESULT($C00D0BCD);
  6496.   {$EXTERNALSYM NS_E_UNSUPPORTED_PROPERTY}
  6497.  
  6498. //
  6499. // MessageId: NS_E_8BIT_WAVE_UNSUPPORTED
  6500. //
  6501. // MessageText:
  6502. //
  6503. //  Windows Media Player cannot copy the files to the CD because they are 8-bit. Convert the files to 16-bit, 44-kHz stereo files by using Sound Recorder or another audio-processing program, and then try again.%0
  6504. //
  6505.   NS_E_8BIT_WAVE_UNSUPPORTED       = HRESULT($C00D0BCE);
  6506.   {$EXTERNALSYM NS_E_8BIT_WAVE_UNSUPPORTED}
  6507.  
  6508. //
  6509. // MessageId: NS_E_NO_MORE_SAMPLES
  6510. //
  6511. // MessageText:
  6512. //
  6513. //  There are no more samples in the current range.%0
  6514. //
  6515.   NS_E_NO_MORE_SAMPLES             = HRESULT($C00D0BCF);
  6516.   {$EXTERNALSYM NS_E_NO_MORE_SAMPLES}
  6517.  
  6518. //
  6519. // MessageId: NS_E_INVALID_SAMPLING_RATE
  6520. //
  6521. // MessageText:
  6522. //
  6523. //  The given sampling rate is invalid.%0
  6524. //
  6525.   NS_E_INVALID_SAMPLING_RATE       = HRESULT($C00D0BD0);
  6526.   {$EXTERNALSYM NS_E_INVALID_SAMPLING_RATE}
  6527.  
  6528. //
  6529. // MessageId: NS_E_MAX_PACKET_SIZE_TOO_SMALL
  6530. //
  6531. // MessageText:
  6532. //
  6533. //  The given maximum packet size is too small to accommodate this profile
  6534. //
  6535.   NS_E_MAX_PACKET_SIZE_TOO_SMALL   = HRESULT($C00D0BD1);
  6536.   {$EXTERNALSYM NS_E_MAX_PACKET_SIZE_TOO_SMALL}
  6537.  
  6538. //
  6539. // MessageId: NS_E_LATE_PACKET
  6540. //
  6541. // MessageText:
  6542. //
  6543. //  The packet arrived too late to be of use
  6544. //
  6545.   NS_E_LATE_PACKET                 = HRESULT($C00D0BD2);
  6546.   {$EXTERNALSYM NS_E_LATE_PACKET}
  6547.  
  6548. //
  6549. // MessageId: NS_E_DUPLICATE_PACKET
  6550. //
  6551. // MessageText:
  6552. //
  6553. //  The packet is a duplicate of one received before
  6554. //
  6555.   NS_E_DUPLICATE_PACKET            = HRESULT($C00D0BD3);
  6556.   {$EXTERNALSYM NS_E_DUPLICATE_PACKET}
  6557.  
  6558. //
  6559. // MessageId: NS_E_SDK_BUFFERTOOSMALL
  6560. //
  6561. // MessageText:
  6562. //
  6563. //  Supplied buffer is too small
  6564. //
  6565.   NS_E_SDK_BUFFERTOOSMALL          = HRESULT($C00D0BD4);
  6566.   {$EXTERNALSYM NS_E_SDK_BUFFERTOOSMALL}
  6567.  
  6568. //
  6569. // MessageId: NS_E_INVALID_NUM_PASSES
  6570. //
  6571. // MessageText:
  6572. //
  6573. //  The wrong number of preprocessing passes was used for the stream's output type
  6574. //
  6575.   NS_E_INVALID_NUM_PASSES          = HRESULT($C00D0BD5);
  6576.   {$EXTERNALSYM NS_E_INVALID_NUM_PASSES}
  6577.  
  6578. //
  6579. // MessageId: NS_E_ATTRIBUTE_READ_ONLY
  6580. //
  6581. // MessageText:
  6582. //
  6583. //  An attempt was made to add, modify, or delete a read only attribute
  6584. //
  6585.   NS_E_ATTRIBUTE_READ_ONLY         = HRESULT($C00D0BD6);
  6586.   {$EXTERNALSYM NS_E_ATTRIBUTE_READ_ONLY}
  6587.  
  6588. //
  6589. // MessageId: NS_E_ATTRIBUTE_NOT_ALLOWED
  6590. //
  6591. // MessageText:
  6592. //
  6593. //  An attempt was made to add attribute that is not allowed for the given media type
  6594. //
  6595.   NS_E_ATTRIBUTE_NOT_ALLOWED       = HRESULT($C00D0BD7);
  6596.   {$EXTERNALSYM NS_E_ATTRIBUTE_NOT_ALLOWED}
  6597.  
  6598. //
  6599. // MessageId: NS_E_INVALID_EDL
  6600. //
  6601. // MessageText:
  6602. //
  6603. //  The EDL provided is invalid
  6604. //
  6605.   NS_E_INVALID_EDL                 = HRESULT($C00D0BD8);
  6606.   {$EXTERNALSYM NS_E_INVALID_EDL}
  6607.  
  6608. //
  6609. // MessageId: NS_E_DATA_UNIT_EXTENSION_TOO_LARGE
  6610. //
  6611. // MessageText:
  6612. //
  6613. //  The Data Unit Extension data was too large to be used.%0
  6614. //
  6615.   NS_E_DATA_UNIT_EXTENSION_TOO_LARGE = HRESULT($C00D0BD9);
  6616.   {$EXTERNALSYM NS_E_DATA_UNIT_EXTENSION_TOO_LARGE}
  6617.  
  6618. //
  6619. // MessageId: NS_E_CODEC_DMO_ERROR
  6620. //
  6621. // MessageText:
  6622. //
  6623. //  An unexpected error occurred with a DMO codec.%0
  6624. //
  6625.   NS_E_CODEC_DMO_ERROR             = HRESULT($C00D0BDA);
  6626.   {$EXTERNALSYM NS_E_CODEC_DMO_ERROR}
  6627.  
  6628.  
  6629.  
  6630. /////////////////////////////////////////////////////////////////////////
  6631. //
  6632. // Windows Media Player Errors
  6633. //
  6634. // IdRange = 4000 - 4999
  6635. //
  6636. /////////////////////////////////////////////////////////////////////////
  6637.  
  6638. //
  6639. // WMP CD Filter Error codes
  6640. //
  6641. //
  6642. // MessageId: NS_E_NO_CD
  6643. //
  6644. // MessageText:
  6645. //
  6646. //  There is no CD in the CD-ROM drive. Insert a CD, and try again.%0
  6647. //
  6648.   NS_E_NO_CD                       = HRESULT($C00D0FA0);
  6649.   {$EXTERNALSYM NS_E_NO_CD}
  6650.  
  6651. //
  6652. // MessageId: NS_E_CANT_READ_DIGITAL
  6653. //
  6654. // MessageText:
  6655. //
  6656. //  Unable to perform digital reads on this compact disc drive.  Please try analog playback via the Tools Options menu.%0
  6657. //
  6658.   NS_E_CANT_READ_DIGITAL           = HRESULT($C00D0FA1);
  6659.   {$EXTERNALSYM NS_E_CANT_READ_DIGITAL}
  6660.  
  6661. //
  6662. // MessageId: NS_E_DEVICE_DISCONNECTED
  6663. //
  6664. // MessageText:
  6665. //
  6666. //  Windows Media Player no longer detects a connected portable device. Reconnect your portable device, and then try copying the file again.%0
  6667. //
  6668.   NS_E_DEVICE_DISCONNECTED         = HRESULT($C00D0FA2);
  6669.   {$EXTERNALSYM NS_E_DEVICE_DISCONNECTED}
  6670.  
  6671. //
  6672. // MessageId: NS_E_DEVICE_NOT_SUPPORT_FORMAT
  6673. //
  6674. // MessageText:
  6675. //
  6676. //  Windows Media Player cannot play the file. The portable device does not support the specified format.%0
  6677. //
  6678.   NS_E_DEVICE_NOT_SUPPORT_FORMAT   = HRESULT($C00D0FA3);
  6679.   {$EXTERNALSYM NS_E_DEVICE_NOT_SUPPORT_FORMAT}
  6680.  
  6681. //
  6682. // MessageId: NS_E_SLOW_READ_DIGITAL
  6683. //
  6684. // MessageText:
  6685. //
  6686. //  Windows Media Player encountered a problem while attempting to play the CD using digital playback. The Player has automatically switched the CD-ROM drive to analog playback. To switch back to digital CD playback, use the Devices tab.%0
  6687. //
  6688.   NS_E_SLOW_READ_DIGITAL           = HRESULT($C00D0FA4);
  6689.   {$EXTERNALSYM NS_E_SLOW_READ_DIGITAL}
  6690.  
  6691. //
  6692. // MessageId: NS_E_MIXER_INVALID_LINE
  6693. //
  6694. // MessageText:
  6695. //
  6696. //  An invalid line error occurred in the mixer.%0
  6697. //
  6698.   NS_E_MIXER_INVALID_LINE          = HRESULT($C00D0FA5);
  6699.   {$EXTERNALSYM NS_E_MIXER_INVALID_LINE}
  6700.  
  6701. //
  6702. // MessageId: NS_E_MIXER_INVALID_CONTROL
  6703. //
  6704. // MessageText:
  6705. //
  6706. //  An invalid control error occurred in the mixer.%0
  6707. //
  6708.   NS_E_MIXER_INVALID_CONTROL       = HRESULT($C00D0FA6);
  6709.   {$EXTERNALSYM NS_E_MIXER_INVALID_CONTROL}
  6710.  
  6711. //
  6712. // MessageId: NS_E_MIXER_INVALID_VALUE
  6713. //
  6714. // MessageText:
  6715. //
  6716. //  An invalid value error occurred in the mixer.%0
  6717. //
  6718.   NS_E_MIXER_INVALID_VALUE         = HRESULT($C00D0FA7);
  6719.   {$EXTERNALSYM NS_E_MIXER_INVALID_VALUE}
  6720.  
  6721. //
  6722. // MessageId: NS_E_MIXER_UNKNOWN_MMRESULT
  6723. //
  6724. // MessageText:
  6725. //
  6726. //  An unrecognized MMRESULT occurred in the mixer.%0
  6727. //
  6728.   NS_E_MIXER_UNKNOWN_MMRESULT      = HRESULT($C00D0FA8);
  6729.   {$EXTERNALSYM NS_E_MIXER_UNKNOWN_MMRESULT}
  6730.  
  6731. //
  6732. // MessageId: NS_E_USER_STOP
  6733. //
  6734. // MessageText:
  6735. //
  6736. //  User has stopped the operation.%0
  6737. //
  6738.   NS_E_USER_STOP                   = HRESULT($C00D0FA9);
  6739.   {$EXTERNALSYM NS_E_USER_STOP}
  6740.  
  6741. //
  6742. // MessageId: NS_E_MP3_FORMAT_NOT_FOUND
  6743. //
  6744. // MessageText:
  6745. //
  6746. //  Windows Media Player cannot copy the file because a compatible MP3 encoder is not installed on your computer. Install a compatible MP3 encoder, or choose a different format to copy to (such as Windows Media Audio).%0
  6747. //
  6748.   NS_E_MP3_FORMAT_NOT_FOUND        = HRESULT($C00D0FAA);
  6749.   {$EXTERNALSYM NS_E_MP3_FORMAT_NOT_FOUND}
  6750.  
  6751. //
  6752. // MessageId: NS_E_CD_READ_ERROR_NO_CORRECTION
  6753. //
  6754. // MessageText:
  6755. //
  6756. //  Windows Media Player cannot read the CD. It may contain flaws. Turn on error correction and try again.%0
  6757. //
  6758.   NS_E_CD_READ_ERROR_NO_CORRECTION = HRESULT($C00D0FAB);
  6759.   {$EXTERNALSYM NS_E_CD_READ_ERROR_NO_CORRECTION}
  6760.  
  6761. //
  6762. // MessageId: NS_E_CD_READ_ERROR
  6763. //
  6764. // MessageText:
  6765. //
  6766. //  Windows Media Player cannot read the CD. Be sure the CD is free of dirt and scratches and the CD-ROM drive is functioning properly.%0
  6767. //
  6768.   NS_E_CD_READ_ERROR               = HRESULT($C00D0FAC);
  6769.   {$EXTERNALSYM NS_E_CD_READ_ERROR}
  6770.  
  6771. //
  6772. // MessageId: NS_E_CD_SLOW_COPY
  6773. //
  6774. // MessageText:
  6775. //
  6776. //  To speed up the copy process, do not play CD tracks while copying.%0
  6777. //
  6778.   NS_E_CD_SLOW_COPY                = HRESULT($C00D0FAD);
  6779.   {$EXTERNALSYM NS_E_CD_SLOW_COPY}
  6780.  
  6781. //
  6782. // MessageId: NS_E_CD_COPYTO_CD
  6783. //
  6784. // MessageText:
  6785. //
  6786. //  Cannot copy directly from a CDROM to a CD drive.%0
  6787. //
  6788.   NS_E_CD_COPYTO_CD                = HRESULT($C00D0FAE);
  6789.   {$EXTERNALSYM NS_E_CD_COPYTO_CD}
  6790.  
  6791. //
  6792. // MessageId: NS_E_MIXER_NODRIVER
  6793. //
  6794. // MessageText:
  6795. //
  6796. //  Could not open a sound mixer driver.%0
  6797. //
  6798.   NS_E_MIXER_NODRIVER              = HRESULT($C00D0FAF);
  6799.   {$EXTERNALSYM NS_E_MIXER_NODRIVER}
  6800.  
  6801. //
  6802. // MessageId: NS_E_REDBOOK_ENABLED_WHILE_COPYING
  6803. //
  6804. // MessageText:
  6805. //
  6806. //  Windows Media Player has detected that a setting for the CD-ROM drive will cause audio CDs to copy incorrectly; no audio is copied. Change the CD-ROM drive setting in Device Manager, and then try again.%0
  6807. //
  6808.   NS_E_REDBOOK_ENABLED_WHILE_COPYING = HRESULT($C00D0FB0);
  6809.   {$EXTERNALSYM NS_E_REDBOOK_ENABLED_WHILE_COPYING}
  6810.  
  6811. //
  6812. // MessageId: NS_E_CD_REFRESH
  6813. //
  6814. // MessageText:
  6815. //
  6816. //  Trying to refresh the CD playlist.%0
  6817. //
  6818.   NS_E_CD_REFRESH                  = HRESULT($C00D0FB1);
  6819.   {$EXTERNALSYM NS_E_CD_REFRESH}
  6820.  
  6821. //
  6822. // MessageId: NS_E_CD_DRIVER_PROBLEM
  6823. //
  6824. // MessageText:
  6825. //
  6826. //  Windows Media Player must switch to analog  mode  because there is a problem reading the CD-ROM drive in digital mode. Verify that the CD-ROM drive is installed correctly or try to update the drivers for the CD-ROM drive, and then try to use digital mode again.%0
  6827. //
  6828.   NS_E_CD_DRIVER_PROBLEM           = HRESULT($C00D0FB2);
  6829.   {$EXTERNALSYM NS_E_CD_DRIVER_PROBLEM}
  6830.  
  6831. //
  6832. // MessageId: NS_E_WONT_DO_DIGITAL
  6833. //
  6834. // MessageText:
  6835. //
  6836. //  Windows Media Player must switch to analog mode because there is a problem reading the CD-ROM drive  in digital mode.%0
  6837. //
  6838.   NS_E_WONT_DO_DIGITAL             = HRESULT($C00D0FB3);
  6839.   {$EXTERNALSYM NS_E_WONT_DO_DIGITAL}
  6840.  
  6841. //
  6842. // WMP IWMPXMLParser Error codes
  6843. //
  6844. //
  6845. // MessageId: NS_E_WMPXML_NOERROR
  6846. //
  6847. // MessageText:
  6848. //
  6849. //  A call was made to GetParseError on the XML parser but there was no error to retrieve.%0
  6850. //
  6851.   NS_E_WMPXML_NOERROR              = HRESULT($C00D0FB4);
  6852.   {$EXTERNALSYM NS_E_WMPXML_NOERROR}
  6853.  
  6854. //
  6855. // MessageId: NS_E_WMPXML_ENDOFDATA
  6856. //
  6857. // MessageText:
  6858. //
  6859. //  The XML Parser ran out of data while parsing.%0
  6860. //
  6861.   NS_E_WMPXML_ENDOFDATA            = HRESULT($C00D0FB5);
  6862.   {$EXTERNALSYM NS_E_WMPXML_ENDOFDATA}
  6863.  
  6864. //
  6865. // MessageId: NS_E_WMPXML_PARSEERROR
  6866. //
  6867. // MessageText:
  6868. //
  6869. //  A generic parse error occurred in the XML parser but no information is available.%0
  6870. //
  6871.   NS_E_WMPXML_PARSEERROR           = HRESULT($C00D0FB6);
  6872.   {$EXTERNALSYM NS_E_WMPXML_PARSEERROR}
  6873.  
  6874. //
  6875. // MessageId: NS_E_WMPXML_ATTRIBUTENOTFOUND
  6876. //
  6877. // MessageText:
  6878. //
  6879. //  A call get GetNamedAttribute or GetNamedAttributeIndex on the XML parser resulted in the index not being found.%0
  6880. //
  6881.   NS_E_WMPXML_ATTRIBUTENOTFOUND    = HRESULT($C00D0FB7);
  6882.   {$EXTERNALSYM NS_E_WMPXML_ATTRIBUTENOTFOUND}
  6883.  
  6884. //
  6885. // MessageId: NS_E_WMPXML_PINOTFOUND
  6886. //
  6887. // MessageText:
  6888. //
  6889. //  A call was made go GetNamedPI on the XML parser, but the requested Processing Instruction was not found.%0
  6890. //
  6891.   NS_E_WMPXML_PINOTFOUND           = HRESULT($C00D0FB8);
  6892.   {$EXTERNALSYM NS_E_WMPXML_PINOTFOUND}
  6893.  
  6894. //
  6895. // MessageId: NS_E_WMPXML_EMPTYDOC
  6896. //
  6897. // MessageText:
  6898. //
  6899. //  Persist was called on the XML parser, but the parser has no data to persist.%0
  6900. //
  6901.   NS_E_WMPXML_EMPTYDOC             = HRESULT($C00D0FB9);
  6902.   {$EXTERNALSYM NS_E_WMPXML_EMPTYDOC}
  6903.  
  6904. //
  6905. // Miscellaneous Media Player Error codes
  6906. //
  6907. //
  6908. // MessageId: NS_E_WMP_WINDOWSAPIFAILURE
  6909. //
  6910. // MessageText:
  6911. //
  6912. //  A Windows API call failed but no error information was available.%0
  6913. //
  6914.   NS_E_WMP_WINDOWSAPIFAILURE       = HRESULT($C00D0FC8);
  6915.   {$EXTERNALSYM NS_E_WMP_WINDOWSAPIFAILURE}
  6916.  
  6917. //
  6918. // MessageId: NS_E_WMP_RECORDING_NOT_ALLOWED
  6919. //
  6920. // MessageText:
  6921. //
  6922. //  Windows Media Player cannot copy the file. Either the license restricts copying, or you must obtain a license to copy the file.%0
  6923. //
  6924.   NS_E_WMP_RECORDING_NOT_ALLOWED   = HRESULT($C00D0FC9);
  6925.   {$EXTERNALSYM NS_E_WMP_RECORDING_NOT_ALLOWED}
  6926.  
  6927. //
  6928. // MessageId: NS_E_DEVICE_NOT_READY
  6929. //
  6930. // MessageText:
  6931. //
  6932. //  Windows Media Player no longer detects a connected portable device. Reconnect your portable device, and try again.%0
  6933. //
  6934.   NS_E_DEVICE_NOT_READY            = HRESULT($C00D0FCA);
  6935.   {$EXTERNALSYM NS_E_DEVICE_NOT_READY}
  6936.  
  6937. //
  6938. // MessageId: NS_E_DAMAGED_FILE
  6939. //
  6940. // MessageText:
  6941. //
  6942. //  Windows Media Player cannot play the file because it is either damaged or corrupt.%0
  6943. //
  6944.   NS_E_DAMAGED_FILE                = HRESULT($C00D0FCB);
  6945.   {$EXTERNALSYM NS_E_DAMAGED_FILE}
  6946.  
  6947. //
  6948. // MessageId: NS_E_MPDB_GENERIC
  6949. //
  6950. // MessageText:
  6951. //
  6952. //  An error occurred when the Player was attempting to access information in your media library. Try closing and then reopening the Player.%0
  6953. //
  6954.   NS_E_MPDB_GENERIC                = HRESULT($C00D0FCC);
  6955.   {$EXTERNALSYM NS_E_MPDB_GENERIC}
  6956.  
  6957. //
  6958. // MessageId: NS_E_FILE_FAILED_CHECKS
  6959. //
  6960. // MessageText:
  6961. //
  6962. //  The file cannot be added to Media Library because it is smaller than the minimum-size requirement. Adjust the size requirements, and then try again.%0
  6963. //
  6964.   NS_E_FILE_FAILED_CHECKS          = HRESULT($C00D0FCD);
  6965.   {$EXTERNALSYM NS_E_FILE_FAILED_CHECKS}
  6966.  
  6967. //
  6968. // MessageId: NS_E_MEDIA_LIBRARY_FAILED
  6969. //
  6970. // MessageText:
  6971. //
  6972. //  Windows Media Player could not create Media Library. Check with your system administrator to get the necessary permissions to create Media Library on your computer, and then try installing the Player again.%0
  6973. //
  6974.   NS_E_MEDIA_LIBRARY_FAILED        = HRESULT($C00D0FCE);
  6975.   {$EXTERNALSYM NS_E_MEDIA_LIBRARY_FAILED}
  6976.  
  6977. //
  6978. // MessageId: NS_E_SHARING_VIOLATION
  6979. //
  6980. // MessageText:
  6981. //
  6982. //  The file is already in use. Close other programs that may be using the file, or stop playing the file, and try again.%0
  6983. //
  6984.   NS_E_SHARING_VIOLATION           = HRESULT($C00D0FCF);
  6985.   {$EXTERNALSYM NS_E_SHARING_VIOLATION}
  6986.  
  6987. //
  6988. // MessageId: NS_E_NO_ERROR_STRING_FOUND
  6989. //
  6990. // MessageText:
  6991. //
  6992. //  Windows Media Player has encountered an unknown error.%0
  6993. //
  6994.   NS_E_NO_ERROR_STRING_FOUND       = HRESULT($C00D0FD0);
  6995.   {$EXTERNALSYM NS_E_NO_ERROR_STRING_FOUND}
  6996.  
  6997. //
  6998. // MessageId: NS_E_WMPOCX_NO_REMOTE_CORE
  6999. //
  7000. // MessageText:
  7001. //
  7002. //  The Windows Media Player control was unable to connect to remote media services, but will continue with local media services.%0
  7003. //
  7004.   NS_E_WMPOCX_NO_REMOTE_CORE       = HRESULT($C00D0FD1);
  7005.   {$EXTERNALSYM NS_E_WMPOCX_NO_REMOTE_CORE}
  7006.  
  7007. //
  7008. // MessageId: NS_E_WMPOCX_NO_ACTIVE_CORE
  7009. //
  7010. // MessageText:
  7011. //
  7012. //  The requested method or property is not available because the Windows Media Player control has not been properly activated.%0
  7013. //
  7014.   NS_E_WMPOCX_NO_ACTIVE_CORE       = HRESULT($C00D0FD2);
  7015.   {$EXTERNALSYM NS_E_WMPOCX_NO_ACTIVE_CORE}
  7016.  
  7017. //
  7018. // MessageId: NS_E_WMPOCX_NOT_RUNNING_REMOTELY
  7019. //
  7020. // MessageText:
  7021. //
  7022. //  Windows Media Player ActiveX control is not running in remote mode.%0
  7023. //
  7024.   NS_E_WMPOCX_NOT_RUNNING_REMOTELY = HRESULT($C00D0FD3);
  7025.   {$EXTERNALSYM NS_E_WMPOCX_NOT_RUNNING_REMOTELY}
  7026.  
  7027. //
  7028. // MessageId: NS_E_WMPOCX_NO_REMOTE_WINDOW
  7029. //
  7030. // MessageText:
  7031. //
  7032. //  An error occurred when trying to get remote Windows Media Player window.%0
  7033. //
  7034.   NS_E_WMPOCX_NO_REMOTE_WINDOW     = HRESULT($C00D0FD4);
  7035.   {$EXTERNALSYM NS_E_WMPOCX_NO_REMOTE_WINDOW}
  7036.  
  7037. //
  7038. // MessageId: NS_E_WMPOCX_ERRORMANAGERNOTAVAILABLE
  7039. //
  7040. // MessageText:
  7041. //
  7042. //  Windows Media Player has encountered an unknown error.%0
  7043. //
  7044.   NS_E_WMPOCX_ERRORMANAGERNOTAVAILABLE = HRESULT($C00D0FD5);
  7045.   {$EXTERNALSYM NS_E_WMPOCX_ERRORMANAGERNOTAVAILABLE}
  7046.  
  7047. //
  7048. // MessageId: NS_E_PLUGIN_NOTSHUTDOWN
  7049. //
  7050. // MessageText:
  7051. //
  7052. //  Windows Media Player was not closed properly. A damaged or incompatible plug-in may have caused the problem to occur. As a precaution, all third-party plug-ins have been disabled.%0
  7053. //
  7054.   NS_E_PLUGIN_NOTSHUTDOWN          = HRESULT($C00D0FD6);
  7055.   {$EXTERNALSYM NS_E_PLUGIN_NOTSHUTDOWN}
  7056.  
  7057. //
  7058. // MessageId: NS_E_WMP_CANNOT_FIND_FOLDER
  7059. //
  7060. // MessageText:
  7061. //
  7062. //  Windows Media Player cannot find the specified path. Be sure the path is typed correctly. If it is, the path does not exist in the specified location, or the computer where the path is located is offline.%0
  7063. //
  7064.   NS_E_WMP_CANNOT_FIND_FOLDER      = HRESULT($C00D0FD7);
  7065.   {$EXTERNALSYM NS_E_WMP_CANNOT_FIND_FOLDER}
  7066.  
  7067. //
  7068. // MessageId: NS_E_WMP_STREAMING_RECORDING_NOT_ALLOWED
  7069. //
  7070. // MessageText:
  7071. //
  7072. //  Windows Media Player cannot copy streaming media.%0
  7073. //
  7074.   NS_E_WMP_STREAMING_RECORDING_NOT_ALLOWED = HRESULT($C00D0FD8);
  7075.   {$EXTERNALSYM NS_E_WMP_STREAMING_RECORDING_NOT_ALLOWED}
  7076.  
  7077. //
  7078. // MessageId: NS_E_WMP_PLUGINDLL_NOTFOUND
  7079. //
  7080. // MessageText:
  7081. //
  7082. //  Windows Media Player cannot find the selected plug-in. The Player will try to remove it from the menu. To use this plug-in, install it again.%0
  7083. //
  7084.   NS_E_WMP_PLUGINDLL_NOTFOUND      = HRESULT($C00D0FD9);
  7085.   {$EXTERNALSYM NS_E_WMP_PLUGINDLL_NOTFOUND}
  7086.  
  7087. //
  7088. // MessageId: NS_E_NEED_TO_ASK_USER
  7089. //
  7090. // MessageText:
  7091. //
  7092. //  Action requires input from the user.%0
  7093. //
  7094.   NS_E_NEED_TO_ASK_USER            = HRESULT($C00D0FDA);
  7095.   {$EXTERNALSYM NS_E_NEED_TO_ASK_USER}
  7096.  
  7097. //
  7098. // MessageId: NS_E_WMPOCX_PLAYER_NOT_DOCKED
  7099. //
  7100. // MessageText:
  7101. //
  7102. //  The Windows Media Player control must be in a docked state for this action to succeed.%0
  7103. //
  7104.   NS_E_WMPOCX_PLAYER_NOT_DOCKED    = HRESULT($C00D0FDB);
  7105.   {$EXTERNALSYM NS_E_WMPOCX_PLAYER_NOT_DOCKED}
  7106.  
  7107. //
  7108. // MessageId: NS_E_WMP_EXTERNAL_NOTREADY
  7109. //
  7110. // MessageText:
  7111. //
  7112. //  Media Player external object is not ready.%0
  7113. //
  7114.   NS_E_WMP_EXTERNAL_NOTREADY       = HRESULT($C00D0FDC);
  7115.   {$EXTERNALSYM NS_E_WMP_EXTERNAL_NOTREADY}
  7116.  
  7117. //
  7118. // MessageId: NS_E_WMP_MLS_STALE_DATA
  7119. //
  7120. // MessageText:
  7121. //
  7122. //  Metadata is stale. The operation failed.%0
  7123. //
  7124.   NS_E_WMP_MLS_STALE_DATA          = HRESULT($C00D0FDD);
  7125.   {$EXTERNALSYM NS_E_WMP_MLS_STALE_DATA}
  7126.  
  7127. //
  7128. // Generic Media PlayerUI error codes
  7129. //
  7130. //
  7131. // MessageId: NS_E_WMP_UI_SUBCONTROLSNOTSUPPORTED
  7132. //
  7133. // MessageText:
  7134. //
  7135. //  The control (%s) does not support creation of sub-controls, yet (%d) sub-controls have been specified.%0
  7136. //
  7137.   NS_E_WMP_UI_SUBCONTROLSNOTSUPPORTED = HRESULT($C00D0FDE);
  7138.   {$EXTERNALSYM NS_E_WMP_UI_SUBCONTROLSNOTSUPPORTED}
  7139.  
  7140. //
  7141. // MessageId: NS_E_WMP_UI_VERSIONMISMATCH
  7142. //
  7143. // MessageText:
  7144. //
  7145. //  Version mismatch: (%.1f required, %.1f found).%0
  7146. //
  7147.   NS_E_WMP_UI_VERSIONMISMATCH      = HRESULT($C00D0FDF);
  7148.   {$EXTERNALSYM NS_E_WMP_UI_VERSIONMISMATCH}
  7149.  
  7150. //
  7151. // MessageId: NS_E_WMP_UI_NOTATHEMEFILE
  7152. //
  7153. // MessageText:
  7154. //
  7155. //  The layout manager was given valid XML that wasn't a theme file.%0
  7156. //
  7157.   NS_E_WMP_UI_NOTATHEMEFILE        = HRESULT($C00D0FE0);
  7158.   {$EXTERNALSYM NS_E_WMP_UI_NOTATHEMEFILE}
  7159.  
  7160. //
  7161. // MessageId: NS_E_WMP_UI_SUBELEMENTNOTFOUND
  7162. //
  7163. // MessageText:
  7164. //
  7165. //  The %s subelement could not be found on the %s object.%0
  7166. //
  7167.   NS_E_WMP_UI_SUBELEMENTNOTFOUND   = HRESULT($C00D0FE1);
  7168.   {$EXTERNALSYM NS_E_WMP_UI_SUBELEMENTNOTFOUND}
  7169.  
  7170. //
  7171. // MessageId: NS_E_WMP_UI_VERSIONPARSE
  7172. //
  7173. // MessageText:
  7174. //
  7175. //  An error occurred parsing the version tag.\nValid version tags are of the form:\n\n\t<?wmp version='1.0'?>.%0
  7176. //
  7177.   NS_E_WMP_UI_VERSIONPARSE         = HRESULT($C00D0FE2);
  7178.   {$EXTERNALSYM NS_E_WMP_UI_VERSIONPARSE}
  7179.  
  7180. //
  7181. // MessageId: NS_E_WMP_UI_VIEWIDNOTFOUND
  7182. //
  7183. // MessageText:
  7184. //
  7185. //  The view specified in for the 'currentViewID' property (%s) was not found in this theme file.%0
  7186. //
  7187.   NS_E_WMP_UI_VIEWIDNOTFOUND       = HRESULT($C00D0FE3);
  7188.   {$EXTERNALSYM NS_E_WMP_UI_VIEWIDNOTFOUND}
  7189.  
  7190. //
  7191. // MessageId: NS_E_WMP_UI_PASSTHROUGH
  7192. //
  7193. // MessageText:
  7194. //
  7195. //  This error used internally for hit testing.%0
  7196. //
  7197.   NS_E_WMP_UI_PASSTHROUGH          = HRESULT($C00D0FE4);
  7198.   {$EXTERNALSYM NS_E_WMP_UI_PASSTHROUGH}
  7199.  
  7200. //
  7201. // MessageId: NS_E_WMP_UI_OBJECTNOTFOUND
  7202. //
  7203. // MessageText:
  7204. //
  7205. //  Attributes were specified for the %s object, but the object was not available to send them to.%0
  7206. //
  7207.   NS_E_WMP_UI_OBJECTNOTFOUND       = HRESULT($C00D0FE5);
  7208.   {$EXTERNALSYM NS_E_WMP_UI_OBJECTNOTFOUND}
  7209.  
  7210. //
  7211. // MessageId: NS_E_WMP_UI_SECONDHANDLER
  7212. //
  7213. // MessageText:
  7214. //
  7215. //  The %s event already has a handler, the second handler was ignored.%0
  7216. //
  7217.   NS_E_WMP_UI_SECONDHANDLER        = HRESULT($C00D0FE6);
  7218.   {$EXTERNALSYM NS_E_WMP_UI_SECONDHANDLER}
  7219.  
  7220. //
  7221. // MessageId: NS_E_WMP_UI_NOSKININZIP
  7222. //
  7223. // MessageText:
  7224. //
  7225. //  No .wms file found in skin archive.%0
  7226. //
  7227.   NS_E_WMP_UI_NOSKININZIP          = HRESULT($C00D0FE7);
  7228.   {$EXTERNALSYM NS_E_WMP_UI_NOSKININZIP}
  7229.  
  7230. //
  7231. // MessageId: NS_S_WMP_UI_VERSIONMISMATCH
  7232. //
  7233. // MessageText:
  7234. //
  7235. //  An upgrade may be needed for the theme manager to correctly show this skin. Skin reports version: %.1f.%0
  7236. //
  7237.   NS_S_WMP_UI_VERSIONMISMATCH      = HRESULT($000D0FE8);
  7238.   {$EXTERNALSYM NS_S_WMP_UI_VERSIONMISMATCH}
  7239.  
  7240. //
  7241. // MessageId: NS_S_WMP_EXCEPTION
  7242. //
  7243. // MessageText:
  7244. //
  7245. //  An error occurred in one of the UI components.%0
  7246. //
  7247.   NS_S_WMP_EXCEPTION               = HRESULT($000D0FE9);
  7248.   {$EXTERNALSYM NS_S_WMP_EXCEPTION}
  7249.  
  7250. //
  7251. // MessageId: NS_E_WMP_URLDOWNLOADFAILED
  7252. //
  7253. // MessageText:
  7254. //
  7255. //  Windows Media Player cannot save the file.%0
  7256. //
  7257.   NS_E_WMP_URLDOWNLOADFAILED       = HRESULT($C00D0FEA);
  7258.   {$EXTERNALSYM NS_E_WMP_URLDOWNLOADFAILED}
  7259.  
  7260. //
  7261. // MessageId: NS_E_WMPOCX_UNABLE_TO_LOAD_SKIN
  7262. //
  7263. // MessageText:
  7264. //
  7265. //  The Windows Media Player Control was unable to load the requested uiMode and could not successfully roll back to the existing uiMode.%0
  7266. //
  7267.   NS_E_WMPOCX_UNABLE_TO_LOAD_SKIN  = HRESULT($C00D0FEB);
  7268.   {$EXTERNALSYM NS_E_WMPOCX_UNABLE_TO_LOAD_SKIN}
  7269.  
  7270. //
  7271. // MessageId: NS_E_WMP_INVALID_SKIN
  7272. //
  7273. // MessageText:
  7274. //
  7275. //  The skin file is invalid.%0
  7276. //
  7277.   NS_E_WMP_INVALID_SKIN            = HRESULT($C00D0FEC);
  7278.   {$EXTERNALSYM NS_E_WMP_INVALID_SKIN}
  7279.  
  7280. //
  7281. // MessageId: NS_E_WMP_SENDMAILFAILED
  7282. //
  7283. // MessageText:
  7284. //
  7285. //  Windows Media Player cannot send the link because your e-mail program is not responding. Verify that your e-mail program is configured properly, and then try again. For more information about e-mail, see Windows Help%0
  7286. //
  7287.   NS_E_WMP_SENDMAILFAILED          = HRESULT($C00D0FED);
  7288.   {$EXTERNALSYM NS_E_WMP_SENDMAILFAILED}
  7289.  
  7290. //Save As
  7291. //
  7292. // MessageId: NS_E_WMP_SAVEAS_READONLY
  7293. //
  7294. // MessageText:
  7295. //
  7296. //  The Windows Media Player cannot overwrite a read only file. Choose another file to save as or change the file attributes.%0
  7297. //
  7298.   NS_E_WMP_SAVEAS_READONLY         = HRESULT($C00D0FF0);
  7299.   {$EXTERNALSYM NS_E_WMP_SAVEAS_READONLY}
  7300.  
  7301. //
  7302. // WMP Regional button control
  7303. //
  7304. //
  7305. // MessageId: NS_E_WMP_RBC_JPGMAPPINGIMAGE
  7306. //
  7307. // MessageText:
  7308. //
  7309. //  JPG Images are not recommended for use as a mappingImage.%0
  7310. //
  7311.   NS_E_WMP_RBC_JPGMAPPINGIMAGE     = HRESULT($C00D1004);
  7312.   {$EXTERNALSYM NS_E_WMP_RBC_JPGMAPPINGIMAGE}
  7313.  
  7314. //
  7315. // MessageId: NS_E_WMP_JPGTRANSPARENCY
  7316. //
  7317. // MessageText:
  7318. //
  7319. //  JPG Images are not recommended when using a transparencyColor.%0
  7320. //
  7321.   NS_E_WMP_JPGTRANSPARENCY         = HRESULT($C00D1005);
  7322.   {$EXTERNALSYM NS_E_WMP_JPGTRANSPARENCY}
  7323.  
  7324. //
  7325. // WMP Slider control
  7326. //
  7327. //
  7328. // MessageId: NS_E_WMP_INVALID_MAX_VAL
  7329. //
  7330. // MessageText:
  7331. //
  7332. //  The Max property cannot be less than Min property.%0
  7333. //
  7334.   NS_E_WMP_INVALID_MAX_VAL         = HRESULT($C00D1009);
  7335.   {$EXTERNALSYM NS_E_WMP_INVALID_MAX_VAL}
  7336.  
  7337. //
  7338. // MessageId: NS_E_WMP_INVALID_MIN_VAL
  7339. //
  7340. // MessageText:
  7341. //
  7342. //  The Min property cannot be greater than Max property.%0
  7343. //
  7344.   NS_E_WMP_INVALID_MIN_VAL         = HRESULT($C00D100A);
  7345.   {$EXTERNALSYM NS_E_WMP_INVALID_MIN_VAL}
  7346.  
  7347. //
  7348. // WMP CustomSlider control
  7349. //
  7350. //
  7351. // MessageId: NS_E_WMP_CS_JPGPOSITIONIMAGE
  7352. //
  7353. // MessageText:
  7354. //
  7355. //  JPG Images are not recommended for use as a positionImage.%0
  7356. //
  7357.   NS_E_WMP_CS_JPGPOSITIONIMAGE     = HRESULT($C00D100E);
  7358.   {$EXTERNALSYM NS_E_WMP_CS_JPGPOSITIONIMAGE}
  7359.  
  7360. //
  7361. // MessageId: NS_E_WMP_CS_NOTEVENLYDIVISIBLE
  7362. //
  7363. // MessageText:
  7364. //
  7365. //  The (%s) image's size is not evenly divisible by the positionImage's size.%0
  7366. //
  7367.   NS_E_WMP_CS_NOTEVENLYDIVISIBLE   = HRESULT($C00D100F);
  7368.   {$EXTERNALSYM NS_E_WMP_CS_NOTEVENLYDIVISIBLE}
  7369.  
  7370. //
  7371. // WMP ZIP Decoder
  7372. //
  7373. //
  7374. // MessageId: NS_E_WMPZIP_NOTAZIPFILE
  7375. //
  7376. // MessageText:
  7377. //
  7378. //  The ZIP reader opened a file and its signature didn't match that of ZIP files.%0
  7379. //
  7380.   NS_E_WMPZIP_NOTAZIPFILE          = HRESULT($C00D1018);
  7381.   {$EXTERNALSYM NS_E_WMPZIP_NOTAZIPFILE}
  7382.  
  7383. //
  7384. // MessageId: NS_E_WMPZIP_CORRUPT
  7385. //
  7386. // MessageText:
  7387. //
  7388. //  The ZIP reader has detected that the file is corrupt.%0
  7389. //
  7390.   NS_E_WMPZIP_CORRUPT              = HRESULT($C00D1019);
  7391.   {$EXTERNALSYM NS_E_WMPZIP_CORRUPT}
  7392.  
  7393. //
  7394. // MessageId: NS_E_WMPZIP_FILENOTFOUND
  7395. //
  7396. // MessageText:
  7397. //
  7398. //  GetFileStream, SaveToFile, or SaveTemp file was called on the ZIP reader with a filename that was not found in the zip file.%0
  7399. //
  7400.   NS_E_WMPZIP_FILENOTFOUND         = HRESULT($C00D101A);
  7401.   {$EXTERNALSYM NS_E_WMPZIP_FILENOTFOUND}
  7402.  
  7403. //
  7404. // WMP Image Decoding Error codes
  7405. //
  7406. //
  7407. // MessageId: NS_E_WMP_IMAGE_FILETYPE_UNSUPPORTED
  7408. //
  7409. // MessageText:
  7410. //
  7411. //  Image type not supported.%0
  7412. //
  7413.   NS_E_WMP_IMAGE_FILETYPE_UNSUPPORTED = HRESULT($C00D1022);
  7414.   {$EXTERNALSYM NS_E_WMP_IMAGE_FILETYPE_UNSUPPORTED}
  7415.  
  7416. //
  7417. // MessageId: NS_E_WMP_IMAGE_INVALID_FORMAT
  7418. //
  7419. // MessageText:
  7420. //
  7421. //  Image file may be corrupt.%0
  7422. //
  7423.   NS_E_WMP_IMAGE_INVALID_FORMAT    = HRESULT($C00D1023);
  7424.   {$EXTERNALSYM NS_E_WMP_IMAGE_INVALID_FORMAT}
  7425.  
  7426. //
  7427. // MessageId: NS_E_WMP_GIF_UNEXPECTED_ENDOFFILE
  7428. //
  7429. // MessageText:
  7430. //
  7431. //  Unexpected end of file. GIF file may be corrupt.%0
  7432. //
  7433.   NS_E_WMP_GIF_UNEXPECTED_ENDOFFILE = HRESULT($C00D1024);
  7434.   {$EXTERNALSYM NS_E_WMP_GIF_UNEXPECTED_ENDOFFILE}
  7435.  
  7436. //
  7437. // MessageId: NS_E_WMP_GIF_INVALID_FORMAT
  7438. //
  7439. // MessageText:
  7440. //
  7441. //  Invalid GIF file.%0
  7442. //
  7443.   NS_E_WMP_GIF_INVALID_FORMAT      = HRESULT($C00D1025);
  7444.   {$EXTERNALSYM NS_E_WMP_GIF_INVALID_FORMAT}
  7445.  
  7446. //
  7447. // MessageId: NS_E_WMP_GIF_BAD_VERSION_NUMBER
  7448. //
  7449. // MessageText:
  7450. //
  7451. //  Invalid GIF version. Only 87a or 89a supported.%0
  7452. //
  7453.   NS_E_WMP_GIF_BAD_VERSION_NUMBER  = HRESULT($C00D1026);
  7454.   {$EXTERNALSYM NS_E_WMP_GIF_BAD_VERSION_NUMBER}
  7455.  
  7456. //
  7457. // MessageId: NS_E_WMP_GIF_NO_IMAGE_IN_FILE
  7458. //
  7459. // MessageText:
  7460. //
  7461. //  No images found in GIF file.%0
  7462. //
  7463.   NS_E_WMP_GIF_NO_IMAGE_IN_FILE    = HRESULT($C00D1027);
  7464.   {$EXTERNALSYM NS_E_WMP_GIF_NO_IMAGE_IN_FILE}
  7465.  
  7466. //
  7467. // MessageId: NS_E_WMP_PNG_INVALIDFORMAT
  7468. //
  7469. // MessageText:
  7470. //
  7471. //  Invalid PNG image file format.%0
  7472. //
  7473.   NS_E_WMP_PNG_INVALIDFORMAT       = HRESULT($C00D1028);
  7474.   {$EXTERNALSYM NS_E_WMP_PNG_INVALIDFORMAT}
  7475.  
  7476. //
  7477. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_BITDEPTH
  7478. //
  7479. // MessageText:
  7480. //
  7481. //  PNG bitdepth not supported.%0
  7482. //
  7483.   NS_E_WMP_PNG_UNSUPPORTED_BITDEPTH = HRESULT($C00D1029);
  7484.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_BITDEPTH}
  7485.  
  7486. //
  7487. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_COMPRESSION
  7488. //
  7489. // MessageText:
  7490. //
  7491. //  Compression format defined in PNG file not supported,%0
  7492. //
  7493.   NS_E_WMP_PNG_UNSUPPORTED_COMPRESSION = HRESULT($C00D102A);
  7494.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_COMPRESSION}
  7495.  
  7496. //
  7497. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_FILTER
  7498. //
  7499. // MessageText:
  7500. //
  7501. //  Filter method defined in PNG file not supported.%0
  7502. //
  7503.   NS_E_WMP_PNG_UNSUPPORTED_FILTER  = HRESULT($C00D102B);
  7504.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_FILTER}
  7505.  
  7506. //
  7507. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_INTERLACE
  7508. //
  7509. // MessageText:
  7510. //
  7511. //  Interlace method defined in PNG file not supported.%0
  7512. //
  7513.   NS_E_WMP_PNG_UNSUPPORTED_INTERLACE = HRESULT($C00D102C);
  7514.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_INTERLACE}
  7515.  
  7516. //
  7517. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_BAD_CRC
  7518. //
  7519. // MessageText:
  7520. //
  7521. //  Bad CRC in PNG file.%0
  7522. //
  7523.   NS_E_WMP_PNG_UNSUPPORTED_BAD_CRC = HRESULT($C00D102D);
  7524.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_BAD_CRC}
  7525.  
  7526. //
  7527. // MessageId: NS_E_WMP_BMP_INVALID_BITMASK
  7528. //
  7529. // MessageText:
  7530. //
  7531. //  Invalid bitmask in BMP file.%0
  7532. //
  7533.   NS_E_WMP_BMP_INVALID_BITMASK     = HRESULT($C00D102E);
  7534.   {$EXTERNALSYM NS_E_WMP_BMP_INVALID_BITMASK}
  7535.  
  7536. //
  7537. // MessageId: NS_E_WMP_BMP_TOPDOWN_DIB_UNSUPPORTED
  7538. //
  7539. // MessageText:
  7540. //
  7541. //  Topdown DIB not supported.%0
  7542. //
  7543.   NS_E_WMP_BMP_TOPDOWN_DIB_UNSUPPORTED = HRESULT($C00D102F);
  7544.   {$EXTERNALSYM NS_E_WMP_BMP_TOPDOWN_DIB_UNSUPPORTED}
  7545.  
  7546. //
  7547. // MessageId: NS_E_WMP_BMP_BITMAP_NOT_CREATED
  7548. //
  7549. // MessageText:
  7550. //
  7551. //  Bitmap could not be created.%0
  7552. //
  7553.   NS_E_WMP_BMP_BITMAP_NOT_CREATED  = HRESULT($C00D1030);
  7554.   {$EXTERNALSYM NS_E_WMP_BMP_BITMAP_NOT_CREATED}
  7555.  
  7556. //
  7557. // MessageId: NS_E_WMP_BMP_COMPRESSION_UNSUPPORTED
  7558. //
  7559. // MessageText:
  7560. //
  7561. //  Compression format defined in BMP not supported.%0
  7562. //
  7563.   NS_E_WMP_BMP_COMPRESSION_UNSUPPORTED = HRESULT($C00D1031);
  7564.   {$EXTERNALSYM NS_E_WMP_BMP_COMPRESSION_UNSUPPORTED}
  7565.  
  7566. //
  7567. // MessageId: NS_E_WMP_BMP_INVALID_FORMAT
  7568. //
  7569. // MessageText:
  7570. //
  7571. //  Invalid Bitmap format.%0
  7572. //
  7573.   NS_E_WMP_BMP_INVALID_FORMAT      = HRESULT($C00D1032);
  7574.   {$EXTERNALSYM NS_E_WMP_BMP_INVALID_FORMAT}
  7575.  
  7576. //
  7577. // MessageId: NS_E_WMP_JPG_JERR_ARITHCODING_NOTIMPL
  7578. //
  7579. // MessageText:
  7580. //
  7581. //  JPEG Arithmetic coding not supported.%0
  7582. //
  7583.   NS_E_WMP_JPG_JERR_ARITHCODING_NOTIMPL = HRESULT($C00D1033);
  7584.   {$EXTERNALSYM NS_E_WMP_JPG_JERR_ARITHCODING_NOTIMPL}
  7585.  
  7586. //
  7587. // MessageId: NS_E_WMP_JPG_INVALID_FORMAT
  7588. //
  7589. // MessageText:
  7590. //
  7591. //  Invalid JPEG format.%0
  7592. //
  7593.   NS_E_WMP_JPG_INVALID_FORMAT      = HRESULT($C00D1034);
  7594.   {$EXTERNALSYM NS_E_WMP_JPG_INVALID_FORMAT}
  7595.  
  7596. //
  7597. // MessageId: NS_E_WMP_JPG_BAD_DCTSIZE
  7598. //
  7599. // MessageText:
  7600. //
  7601. //  Invalid JPEG format.%0
  7602. //
  7603.   NS_E_WMP_JPG_BAD_DCTSIZE         = HRESULT($C00D1035);
  7604.   {$EXTERNALSYM NS_E_WMP_JPG_BAD_DCTSIZE}
  7605.  
  7606. //
  7607. // MessageId: NS_E_WMP_JPG_BAD_VERSION_NUMBER
  7608. //
  7609. // MessageText:
  7610. //
  7611. //  Internal version error. Unexpected JPEG library version.%0
  7612. //
  7613.   NS_E_WMP_JPG_BAD_VERSION_NUMBER  = HRESULT($C00D1036);
  7614.   {$EXTERNALSYM NS_E_WMP_JPG_BAD_VERSION_NUMBER}
  7615.  
  7616. //
  7617. // MessageId: NS_E_WMP_JPG_BAD_PRECISION
  7618. //
  7619. // MessageText:
  7620. //
  7621. //  Internal JPEG Library error. Unsupported JPEG data precision.%0
  7622. //
  7623.   NS_E_WMP_JPG_BAD_PRECISION       = HRESULT($C00D1037);
  7624.   {$EXTERNALSYM NS_E_WMP_JPG_BAD_PRECISION}
  7625.  
  7626. //
  7627. // MessageId: NS_E_WMP_JPG_CCIR601_NOTIMPL
  7628. //
  7629. // MessageText:
  7630. //
  7631. //  JPEG CCIR601 not supported.%0
  7632. //
  7633.   NS_E_WMP_JPG_CCIR601_NOTIMPL     = HRESULT($C00D1038);
  7634.   {$EXTERNALSYM NS_E_WMP_JPG_CCIR601_NOTIMPL}
  7635.  
  7636. //
  7637. // MessageId: NS_E_WMP_JPG_NO_IMAGE_IN_FILE
  7638. //
  7639. // MessageText:
  7640. //
  7641. //  No image found in JPEG file.%0
  7642. //
  7643.   NS_E_WMP_JPG_NO_IMAGE_IN_FILE    = HRESULT($C00D1039);
  7644.   {$EXTERNALSYM NS_E_WMP_JPG_NO_IMAGE_IN_FILE}
  7645.  
  7646. //
  7647. // MessageId: NS_E_WMP_JPG_READ_ERROR
  7648. //
  7649. // MessageText:
  7650. //
  7651. //  Could not read JPEG file.%0
  7652. //
  7653.   NS_E_WMP_JPG_READ_ERROR          = HRESULT($C00D103A);
  7654.   {$EXTERNALSYM NS_E_WMP_JPG_READ_ERROR}
  7655.  
  7656. //
  7657. // MessageId: NS_E_WMP_JPG_FRACT_SAMPLE_NOTIMPL
  7658. //
  7659. // MessageText:
  7660. //
  7661. //  JPEG Fractional sampling not supported.%0
  7662. //
  7663.   NS_E_WMP_JPG_FRACT_SAMPLE_NOTIMPL = HRESULT($C00D103B);
  7664.   {$EXTERNALSYM NS_E_WMP_JPG_FRACT_SAMPLE_NOTIMPL}
  7665.  
  7666. //
  7667. // MessageId: NS_E_WMP_JPG_IMAGE_TOO_BIG
  7668. //
  7669. // MessageText:
  7670. //
  7671. //  JPEG image too large. Maximum image size supported is 65500 X 65500.%0
  7672. //
  7673.   NS_E_WMP_JPG_IMAGE_TOO_BIG       = HRESULT($C00D103C);
  7674.   {$EXTERNALSYM NS_E_WMP_JPG_IMAGE_TOO_BIG}
  7675.  
  7676. //
  7677. // MessageId: NS_E_WMP_JPG_UNEXPECTED_ENDOFFILE
  7678. //
  7679. // MessageText:
  7680. //
  7681. //  Unexpected end of file reached in JPEG file.%0
  7682. //
  7683.   NS_E_WMP_JPG_UNEXPECTED_ENDOFFILE = HRESULT($C00D103D);
  7684.   {$EXTERNALSYM NS_E_WMP_JPG_UNEXPECTED_ENDOFFILE}
  7685.  
  7686. //
  7687. // MessageId: NS_E_WMP_JPG_SOF_UNSUPPORTED
  7688. //
  7689. // MessageText:
  7690. //
  7691. //  Unsupported JPEG SOF marker found.%0
  7692. //
  7693.   NS_E_WMP_JPG_SOF_UNSUPPORTED     = HRESULT($C00D103E);
  7694.   {$EXTERNALSYM NS_E_WMP_JPG_SOF_UNSUPPORTED}
  7695.  
  7696. //
  7697. // MessageId: NS_E_WMP_JPG_UNKNOWN_MARKER
  7698. //
  7699. // MessageText:
  7700. //
  7701. //  Unknown JPEG marker found.%0
  7702. //
  7703.   NS_E_WMP_JPG_UNKNOWN_MARKER      = HRESULT($C00D103F);
  7704.   {$EXTERNALSYM NS_E_WMP_JPG_UNKNOWN_MARKER}
  7705.  
  7706. //
  7707. // MessageId: NS_S_WMP_LOADED_GIF_IMAGE
  7708. //
  7709. // MessageText:
  7710. //
  7711. //  Successfully loaded a GIF file.%0
  7712. //
  7713.   NS_S_WMP_LOADED_GIF_IMAGE        = HRESULT($000D1040);
  7714.   {$EXTERNALSYM NS_S_WMP_LOADED_GIF_IMAGE}
  7715.  
  7716. //
  7717. // MessageId: NS_S_WMP_LOADED_PNG_IMAGE
  7718. //
  7719. // MessageText:
  7720. //
  7721. //  Successfully loaded a PNG file.%0
  7722. //
  7723.   NS_S_WMP_LOADED_PNG_IMAGE        = HRESULT($000D1041);
  7724.   {$EXTERNALSYM NS_S_WMP_LOADED_PNG_IMAGE}
  7725.  
  7726. //
  7727. // MessageId: NS_S_WMP_LOADED_BMP_IMAGE
  7728. //
  7729. // MessageText:
  7730. //
  7731. //  Successfully loaded a BMP file.%0
  7732. //
  7733.   NS_S_WMP_LOADED_BMP_IMAGE        = HRESULT($000D1042);
  7734.   {$EXTERNALSYM NS_S_WMP_LOADED_BMP_IMAGE}
  7735.  
  7736. //
  7737. // MessageId: NS_S_WMP_LOADED_JPG_IMAGE
  7738. //
  7739. // MessageText:
  7740. //
  7741. //  Successfully loaded a JPG file.%0
  7742. //
  7743.   NS_S_WMP_LOADED_JPG_IMAGE        = HRESULT($000D1043);
  7744.   {$EXTERNALSYM NS_S_WMP_LOADED_JPG_IMAGE}
  7745.  
  7746. //
  7747. // WMP WM Runtime Error codes
  7748. //
  7749. //
  7750. // MessageId: NS_E_WMG_RATEUNAVAILABLE
  7751. //
  7752. // MessageText:
  7753. //
  7754. //  The requested playback rate is unavailable on this content.%0
  7755. //
  7756.   NS_E_WMG_RATEUNAVAILABLE         = HRESULT($C00D104A);
  7757.   {$EXTERNALSYM NS_E_WMG_RATEUNAVAILABLE}
  7758.  
  7759. //
  7760. // MessageId: NS_E_WMG_PLUGINUNAVAILABLE
  7761. //
  7762. // MessageText:
  7763. //
  7764. //  The rendering or digital signal processing plugin could not be instantiated.%0
  7765. //
  7766.   NS_E_WMG_PLUGINUNAVAILABLE       = HRESULT($C00D104B);
  7767.   {$EXTERNALSYM NS_E_WMG_PLUGINUNAVAILABLE}
  7768.  
  7769. //
  7770. // MessageId: NS_E_WMG_CANNOTQUEUE
  7771. //
  7772. // MessageText:
  7773. //
  7774. //  The file cannot be queued for seamless playback.%0
  7775. //
  7776.   NS_E_WMG_CANNOTQUEUE             = HRESULT($C00D104C);
  7777.   {$EXTERNALSYM NS_E_WMG_CANNOTQUEUE}
  7778.  
  7779. //
  7780. // MessageId: NS_E_WMG_PREROLLLICENSEACQUISITIONNOTALLOWED
  7781. //
  7782. // MessageText:
  7783. //
  7784. //  Windows Media Player cannot acquire the license for a file that is being prerolled.%0
  7785. //
  7786.   NS_E_WMG_PREROLLLICENSEACQUISITIONNOTALLOWED = HRESULT($C00D104D);
  7787.   {$EXTERNALSYM NS_E_WMG_PREROLLLICENSEACQUISITIONNOTALLOWED}
  7788.  
  7789. //
  7790. // MessageId: NS_E_WMG_UNEXPECTEDPREROLLSTATUS
  7791. //
  7792. // MessageText:
  7793. //
  7794. //  Windows Media Player received an unexpected message while attempting to preroll a file.%0
  7795. //
  7796.   NS_E_WMG_UNEXPECTEDPREROLLSTATUS = HRESULT($C00D104E);
  7797.   {$EXTERNALSYM NS_E_WMG_UNEXPECTEDPREROLLSTATUS}
  7798.  
  7799. //
  7800. // MessageId: NS_E_WMG_INVALIDSTATE
  7801. //
  7802. // MessageText:
  7803. //
  7804. //  Operation attempted in an invalid graph state.%0
  7805. //
  7806.   NS_E_WMG_INVALIDSTATE            = HRESULT($C00D1054);
  7807.   {$EXTERNALSYM NS_E_WMG_INVALIDSTATE}
  7808.  
  7809. //
  7810. // MessageId: NS_E_WMG_SINKALREADYEXISTS
  7811. //
  7812. // MessageText:
  7813. //
  7814. //  A renderer cannot be inserted in a stream while one already exists.%0
  7815. //
  7816.   NS_E_WMG_SINKALREADYEXISTS       = HRESULT($C00D1055);
  7817.   {$EXTERNALSYM NS_E_WMG_SINKALREADYEXISTS}
  7818.  
  7819. //
  7820. // MessageId: NS_E_WMG_NOSDKINTERFACE
  7821. //
  7822. // MessageText:
  7823. //
  7824. //  A necessary WM SDK interface to complete the operation doesn't exist at this time.%0
  7825. //
  7826.   NS_E_WMG_NOSDKINTERFACE          = HRESULT($C00D1056);
  7827.   {$EXTERNALSYM NS_E_WMG_NOSDKINTERFACE}
  7828.  
  7829. //
  7830. // MessageId: NS_E_WMG_NOTALLOUTPUTSRENDERED
  7831. //
  7832. // MessageText:
  7833. //
  7834. //  Windows Media Player cannot play the file. The file may be formatted with an unsupported codec, or the Player could not download the codec.%0
  7835. //
  7836.   NS_E_WMG_NOTALLOUTPUTSRENDERED   = HRESULT($C00D1057);
  7837.   {$EXTERNALSYM NS_E_WMG_NOTALLOUTPUTSRENDERED}
  7838.  
  7839. //
  7840. // MessageId: NS_E_WMG_FILETRANSFERNOTALLOWED
  7841. //
  7842. // MessageText:
  7843. //
  7844. //  File transfer streams are not allowed in the stand alone player.%0
  7845. //
  7846.   NS_E_WMG_FILETRANSFERNOTALLOWED  = HRESULT($C00D1058);
  7847.   {$EXTERNALSYM NS_E_WMG_FILETRANSFERNOTALLOWED}
  7848.  
  7849. //
  7850. // MessageId: NS_E_WMR_UNSUPPORTEDSTREAM
  7851. //
  7852. // MessageText:
  7853. //
  7854. //  Windows Media Player cannot play the file. The Player does not support the format you are trying to play.%0
  7855. //
  7856.   NS_E_WMR_UNSUPPORTEDSTREAM       = HRESULT($C00D1059);
  7857.   {$EXTERNALSYM NS_E_WMR_UNSUPPORTEDSTREAM}
  7858.  
  7859. //
  7860. // MessageId: NS_E_WMR_PINNOTFOUND
  7861. //
  7862. // MessageText:
  7863. //
  7864. //  An operation was attempted on a pin that doesn't exist in the DirectShow filter graph.%0
  7865. //
  7866.   NS_E_WMR_PINNOTFOUND             = HRESULT($C00D105A);
  7867.   {$EXTERNALSYM NS_E_WMR_PINNOTFOUND}
  7868.  
  7869. //
  7870. // MessageId: NS_E_WMR_WAITINGONFORMATSWITCH
  7871. //
  7872. // MessageText:
  7873. //
  7874. //  Specified operation cannot be completed while waiting for a media format change from the SDK.%0
  7875. //
  7876.   NS_E_WMR_WAITINGONFORMATSWITCH   = HRESULT($C00D105B);
  7877.   {$EXTERNALSYM NS_E_WMR_WAITINGONFORMATSWITCH}
  7878.  
  7879. //
  7880. // MessageId: NS_E_WMR_NOSOURCEFILTER
  7881. //
  7882. // MessageText:
  7883. //
  7884. //  Specified operation cannot be completed because the source filter does not exist.%0
  7885. //
  7886.   NS_E_WMR_NOSOURCEFILTER          = HRESULT($C00D105C);
  7887.   {$EXTERNALSYM NS_E_WMR_NOSOURCEFILTER}
  7888.  
  7889. //
  7890. // MessageId: NS_E_WMR_PINTYPENOMATCH
  7891. //
  7892. // MessageText:
  7893. //
  7894. //  The specified type does not match this pin.%0
  7895. //
  7896.   NS_E_WMR_PINTYPENOMATCH          = HRESULT($C00D105D);
  7897.   {$EXTERNALSYM NS_E_WMR_PINTYPENOMATCH}
  7898.  
  7899. //
  7900. // MessageId: NS_E_WMR_NOCALLBACKAVAILABLE
  7901. //
  7902. // MessageText:
  7903. //
  7904. //  The WMR Source Filter does not have a callback available.%0
  7905. //
  7906.   NS_E_WMR_NOCALLBACKAVAILABLE     = HRESULT($C00D105E);
  7907.   {$EXTERNALSYM NS_E_WMR_NOCALLBACKAVAILABLE}
  7908.  
  7909. //
  7910. // MessageId: NS_S_WMR_ALREADYRENDERED
  7911. //
  7912. // MessageText:
  7913. //
  7914. //  The specified stream has already been rendered.%0
  7915. //
  7916.   NS_S_WMR_ALREADYRENDERED         = HRESULT($000D105F);
  7917.   {$EXTERNALSYM NS_S_WMR_ALREADYRENDERED}
  7918.  
  7919. //
  7920. // MessageId: NS_S_WMR_PINTYPEPARTIALMATCH
  7921. //
  7922. // MessageText:
  7923. //
  7924. //  The specified type partially matches this pin type.%0
  7925. //
  7926.   NS_S_WMR_PINTYPEPARTIALMATCH     = HRESULT($000D1060);
  7927.   {$EXTERNALSYM NS_S_WMR_PINTYPEPARTIALMATCH}
  7928.  
  7929. //
  7930. // MessageId: NS_S_WMR_PINTYPEFULLMATCH
  7931. //
  7932. // MessageText:
  7933. //
  7934. //  The specified type fully matches this pin type.%0
  7935. //
  7936.   NS_S_WMR_PINTYPEFULLMATCH        = HRESULT($000D1061);
  7937.   {$EXTERNALSYM NS_S_WMR_PINTYPEFULLMATCH}
  7938.  
  7939. //
  7940. // MessageId: NS_E_WMR_SAMPLEPROPERTYNOTSET
  7941. //
  7942. // MessageText:
  7943. //
  7944. //  The specified property has not been set on this sample.%0
  7945. //
  7946.   NS_E_WMR_SAMPLEPROPERTYNOTSET    = HRESULT($C00D1062);
  7947.   {$EXTERNALSYM NS_E_WMR_SAMPLEPROPERTYNOTSET}
  7948.  
  7949. //
  7950. // MessageId: NS_E_WMR_CANNOT_RENDER_BINARY_STREAM
  7951. //
  7952. // MessageText:
  7953. //
  7954. //  A plugin is required to correctly play this file. To determine if this plugin is available to download from the Web, click Web Help.%0
  7955. //
  7956.   NS_E_WMR_CANNOT_RENDER_BINARY_STREAM = HRESULT($C00D1063);
  7957.   {$EXTERNALSYM NS_E_WMR_CANNOT_RENDER_BINARY_STREAM}
  7958.  
  7959. //
  7960. // MessageId: NS_E_WMG_LICENSE_TAMPERED
  7961. //
  7962. // MessageText:
  7963. //
  7964. //  The file cannot be played, the content has been tampered.%0
  7965. //
  7966.   NS_E_WMG_LICENSE_TAMPERED        = HRESULT($C00D1064);
  7967.   {$EXTERNALSYM NS_E_WMG_LICENSE_TAMPERED}
  7968.  
  7969. //
  7970. // MessageId: NS_E_WMR_WILLNOT_RENDER_BINARY_STREAM
  7971. //
  7972. // MessageText:
  7973. //
  7974. //  The content you are trying to play is protected content and the player will not render binary streams from protected content.%0
  7975. //
  7976.   NS_E_WMR_WILLNOT_RENDER_BINARY_STREAM = HRESULT($C00D1065);
  7977.   {$EXTERNALSYM NS_E_WMR_WILLNOT_RENDER_BINARY_STREAM}
  7978.  
  7979. //
  7980. // WMP Playlist Error codes
  7981. //
  7982. //
  7983. // MessageId: NS_E_WMX_UNRECOGNIZED_PLAYLIST_FORMAT
  7984. //
  7985. // MessageText:
  7986. //
  7987. //  The format of this file was not recognized as a valid playlist format.%0
  7988. //
  7989.   NS_E_WMX_UNRECOGNIZED_PLAYLIST_FORMAT = HRESULT($C00D1068);
  7990.   {$EXTERNALSYM NS_E_WMX_UNRECOGNIZED_PLAYLIST_FORMAT}
  7991.  
  7992. //
  7993. // MessageId: NS_E_ASX_INVALIDFORMAT
  7994. //
  7995. // MessageText:
  7996. //
  7997. //  This file was believed to be an ASX playlist, but the format was not recognized.%0
  7998. //
  7999.   NS_E_ASX_INVALIDFORMAT           = HRESULT($C00D1069);
  8000.   {$EXTERNALSYM NS_E_ASX_INVALIDFORMAT}
  8001.  
  8002. //
  8003. // MessageId: NS_E_ASX_INVALIDVERSION
  8004. //
  8005. // MessageText:
  8006. //
  8007. //  The version of this playlist is not supported. Click More Information to go to the Microsoft web site and see if there is a newer version of the player to install.%0
  8008. //
  8009.   NS_E_ASX_INVALIDVERSION          = HRESULT($C00D106A);
  8010.   {$EXTERNALSYM NS_E_ASX_INVALIDVERSION}
  8011.  
  8012. //
  8013. // MessageId: NS_E_ASX_INVALID_REPEAT_BLOCK
  8014. //
  8015. // MessageText:
  8016. //
  8017. //  Format of a REPEAT loop within the current playlist file is invalid.%0
  8018. //
  8019.   NS_E_ASX_INVALID_REPEAT_BLOCK    = HRESULT($C00D106B);
  8020.   {$EXTERNALSYM NS_E_ASX_INVALID_REPEAT_BLOCK}
  8021.  
  8022. //
  8023. // MessageId: NS_E_ASX_NOTHING_TO_WRITE
  8024. //
  8025. // MessageText:
  8026. //
  8027. //  Windows Media Player cannot export the playlist because it is empty.%0
  8028. //
  8029.   NS_E_ASX_NOTHING_TO_WRITE        = HRESULT($C00D106C);
  8030.   {$EXTERNALSYM NS_E_ASX_NOTHING_TO_WRITE}
  8031.  
  8032. //
  8033. // MessageId: NS_E_URLLIST_INVALIDFORMAT
  8034. //
  8035. // MessageText:
  8036. //
  8037. //  Windows Media Player does not recognize this file as a supported playlist.%0
  8038. //
  8039.   NS_E_URLLIST_INVALIDFORMAT       = HRESULT($C00D106D);
  8040.   {$EXTERNALSYM NS_E_URLLIST_INVALIDFORMAT}
  8041.  
  8042. //
  8043. // MessageId: NS_E_WMX_ATTRIBUTE_DOES_NOT_EXIST
  8044. //
  8045. // MessageText:
  8046. //
  8047. //  The specified attribute does not exist.%0
  8048. //
  8049.   NS_E_WMX_ATTRIBUTE_DOES_NOT_EXIST = HRESULT($C00D106E);
  8050.   {$EXTERNALSYM NS_E_WMX_ATTRIBUTE_DOES_NOT_EXIST}
  8051.  
  8052. //
  8053. // MessageId: NS_E_WMX_ATTRIBUTE_ALREADY_EXISTS
  8054. //
  8055. // MessageText:
  8056. //
  8057. //  The specified attribute already exists.%0
  8058. //
  8059.   NS_E_WMX_ATTRIBUTE_ALREADY_EXISTS = HRESULT($C00D106F);
  8060.   {$EXTERNALSYM NS_E_WMX_ATTRIBUTE_ALREADY_EXISTS}
  8061.  
  8062. //
  8063. // MessageId: NS_E_WMX_ATTRIBUTE_UNRETRIEVABLE
  8064. //
  8065. // MessageText:
  8066. //
  8067. //  Can not retrieve the specified attribute.%0
  8068. //
  8069.   NS_E_WMX_ATTRIBUTE_UNRETRIEVABLE = HRESULT($C00D1070);
  8070.   {$EXTERNALSYM NS_E_WMX_ATTRIBUTE_UNRETRIEVABLE}
  8071.  
  8072. //
  8073. // MessageId: NS_E_WMX_ITEM_DOES_NOT_EXIST
  8074. //
  8075. // MessageText:
  8076. //
  8077. //  The specified item does not exist in the current playlist.%0
  8078. //
  8079.   NS_E_WMX_ITEM_DOES_NOT_EXIST     = HRESULT($C00D1071);
  8080.   {$EXTERNALSYM NS_E_WMX_ITEM_DOES_NOT_EXIST}
  8081.  
  8082. //
  8083. // MessageId: NS_E_WMX_ITEM_TYPE_ILLEGAL
  8084. //
  8085. // MessageText:
  8086. //
  8087. //  Items of the specified type can not be created within the current playlist.%0
  8088. //
  8089.   NS_E_WMX_ITEM_TYPE_ILLEGAL       = HRESULT($C00D1072);
  8090.   {$EXTERNALSYM NS_E_WMX_ITEM_TYPE_ILLEGAL}
  8091.  
  8092. //
  8093. // MessageId: NS_E_WMX_ITEM_UNSETTABLE
  8094. //
  8095. // MessageText:
  8096. //
  8097. //  The specified item can not be set in the current playlist.%0
  8098. //
  8099.   NS_E_WMX_ITEM_UNSETTABLE         = HRESULT($C00D1073);
  8100.   {$EXTERNALSYM NS_E_WMX_ITEM_UNSETTABLE}
  8101.  
  8102. //
  8103. // MessageId: NS_E_WMX_PLAYLIST_EMPTY
  8104. //
  8105. // MessageText:
  8106. //
  8107. //  The specified playlist is empty.%0
  8108. //
  8109.   NS_E_WMX_PLAYLIST_EMPTY          = HRESULT($C00D1074);
  8110.   {$EXTERNALSYM NS_E_WMX_PLAYLIST_EMPTY}
  8111.  
  8112. //
  8113. // MessageId: NS_E_MLS_SMARTPLAYLIST_FILTER_NOT_REGISTERED
  8114. //
  8115. // MessageText:
  8116. //
  8117. //  Playlist load error: The specified autoplaylist contains a filter type which is either invalid or is not installed on this computer%0
  8118. //
  8119.   NS_E_MLS_SMARTPLAYLIST_FILTER_NOT_REGISTERED = HRESULT($C00D1075);
  8120.   {$EXTERNALSYM NS_E_MLS_SMARTPLAYLIST_FILTER_NOT_REGISTERED}
  8121.  
  8122. //
  8123. // MessageId: NS_E_WMX_INVALID_FORMAT_OVER_NESTING
  8124. //
  8125. // MessageText:
  8126. //
  8127. //  Windows Media Player cannot play the file because the associated Windows Media metafile playlist is not valid.%0
  8128. //
  8129.   NS_E_WMX_INVALID_FORMAT_OVER_NESTING = HRESULT($C00D1076);
  8130.   {$EXTERNALSYM NS_E_WMX_INVALID_FORMAT_OVER_NESTING}
  8131.  
  8132. //
  8133. // WMP Core  Error codes
  8134. //
  8135. //
  8136. // MessageId: NS_E_WMPCORE_NOSOURCEURLSTRING
  8137. //
  8138. // MessageText:
  8139. //
  8140. //  Windows Media Player cannot find the file. Be sure the path is typed correctly. If it is, the file may not exist in the specified location, or the computer where the file is stored may be offline.%0
  8141. //
  8142.   NS_E_WMPCORE_NOSOURCEURLSTRING   = HRESULT($C00D107C);
  8143.   {$EXTERNALSYM NS_E_WMPCORE_NOSOURCEURLSTRING}
  8144.  
  8145. //
  8146. // MessageId: NS_E_WMPCORE_COCREATEFAILEDFORGITOBJECT
  8147. //
  8148. // MessageText:
  8149. //
  8150. //  Failed to create the Global Interface Table.%0
  8151. //
  8152.   NS_E_WMPCORE_COCREATEFAILEDFORGITOBJECT = HRESULT($C00D107D);
  8153.   {$EXTERNALSYM NS_E_WMPCORE_COCREATEFAILEDFORGITOBJECT}
  8154.  
  8155. //
  8156. // MessageId: NS_E_WMPCORE_FAILEDTOGETMARSHALLEDEVENTHANDLERINTERFACE
  8157. //
  8158. // MessageText:
  8159. //
  8160. //  Failed to get the marshaled graph event handler interface.%0
  8161. //
  8162.   NS_E_WMPCORE_FAILEDTOGETMARSHALLEDEVENTHANDLERINTERFACE = HRESULT($C00D107E);
  8163.   {$EXTERNALSYM NS_E_WMPCORE_FAILEDTOGETMARSHALLEDEVENTHANDLERINTERFACE}
  8164.  
  8165. //
  8166. // MessageId: NS_E_WMPCORE_BUFFERTOOSMALL
  8167. //
  8168. // MessageText:
  8169. //
  8170. //  Buffer is too small for copying media type.%0
  8171. //
  8172.   NS_E_WMPCORE_BUFFERTOOSMALL      = HRESULT($C00D107F);
  8173.   {$EXTERNALSYM NS_E_WMPCORE_BUFFERTOOSMALL}
  8174.  
  8175. //
  8176. // MessageId: NS_E_WMPCORE_UNAVAILABLE
  8177. //
  8178. // MessageText:
  8179. //
  8180. //  Current state of the player does not allow the operation.%0
  8181. //
  8182.   NS_E_WMPCORE_UNAVAILABLE         = HRESULT($C00D1080);
  8183.   {$EXTERNALSYM NS_E_WMPCORE_UNAVAILABLE}
  8184.  
  8185. //
  8186. // MessageId: NS_E_WMPCORE_INVALIDPLAYLISTMODE
  8187. //
  8188. // MessageText:
  8189. //
  8190. //  Playlist manager does not understand the current play mode (shuffle, normal etc).%0
  8191. //
  8192.   NS_E_WMPCORE_INVALIDPLAYLISTMODE = HRESULT($C00D1081);
  8193.   {$EXTERNALSYM NS_E_WMPCORE_INVALIDPLAYLISTMODE}
  8194.  
  8195. //
  8196. // MessageId: NS_E_WMPCORE_ITEMNOTINPLAYLIST
  8197. //
  8198. // MessageText:
  8199. //
  8200. //  The item is not in the playlist.%0
  8201. //
  8202.   NS_E_WMPCORE_ITEMNOTINPLAYLIST   = HRESULT($C00D1086);
  8203.   {$EXTERNALSYM NS_E_WMPCORE_ITEMNOTINPLAYLIST}
  8204.  
  8205. //
  8206. // MessageId: NS_E_WMPCORE_PLAYLISTEMPTY
  8207. //
  8208. // MessageText:
  8209. //
  8210. //  There are no items in this playlist. Add items to the playlist, and try again.%0
  8211. //
  8212.   NS_E_WMPCORE_PLAYLISTEMPTY       = HRESULT($C00D1087);
  8213.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLISTEMPTY}
  8214.  
  8215. //
  8216. // MessageId: NS_E_WMPCORE_NOBROWSER
  8217. //
  8218. // MessageText:
  8219. //
  8220. //  The Web site cannot be accessed. A Web browser is not detected on your computer.%0
  8221. //
  8222.   NS_E_WMPCORE_NOBROWSER           = HRESULT($C00D1088);
  8223.   {$EXTERNALSYM NS_E_WMPCORE_NOBROWSER}
  8224.  
  8225. //
  8226. // MessageId: NS_E_WMPCORE_UNRECOGNIZED_MEDIA_URL
  8227. //
  8228. // MessageText:
  8229. //
  8230. //  Windows Media Player cannot find the specified file. Be sure the path is typed correctly. If it is, the file does not exist in the specified location, or the computer where the file is stored is offline.%0
  8231. //
  8232.   NS_E_WMPCORE_UNRECOGNIZED_MEDIA_URL = HRESULT($C00D1089);
  8233.   {$EXTERNALSYM NS_E_WMPCORE_UNRECOGNIZED_MEDIA_URL}
  8234.  
  8235. //
  8236. // MessageId: NS_E_WMPCORE_GRAPH_NOT_IN_LIST
  8237. //
  8238. // MessageText:
  8239. //
  8240. //  Graph with the specified URL was not found in the prerolled graph list.%0
  8241. //
  8242.   NS_E_WMPCORE_GRAPH_NOT_IN_LIST   = HRESULT($C00D108A);
  8243.   {$EXTERNALSYM NS_E_WMPCORE_GRAPH_NOT_IN_LIST}
  8244.  
  8245. //
  8246. // MessageId: NS_E_WMPCORE_PLAYLIST_EMPTY_OR_SINGLE_MEDIA
  8247. //
  8248. // MessageText:
  8249. //
  8250. //  There is only one item in the playlist.%0
  8251. //
  8252.   NS_E_WMPCORE_PLAYLIST_EMPTY_OR_SINGLE_MEDIA = HRESULT($C00D108B);
  8253.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_EMPTY_OR_SINGLE_MEDIA}
  8254.  
  8255. //
  8256. // MessageId: NS_E_WMPCORE_ERRORSINKNOTREGISTERED
  8257. //
  8258. // MessageText:
  8259. //
  8260. //  An error sink was never registered for the calling object.%0
  8261. //
  8262.   NS_E_WMPCORE_ERRORSINKNOTREGISTERED = HRESULT($C00D108C);
  8263.   {$EXTERNALSYM NS_E_WMPCORE_ERRORSINKNOTREGISTERED}
  8264.  
  8265. //
  8266. // MessageId: NS_E_WMPCORE_ERRORMANAGERNOTAVAILABLE
  8267. //
  8268. // MessageText:
  8269. //
  8270. //  The error manager is not available to respond to errors.%0
  8271. //
  8272.   NS_E_WMPCORE_ERRORMANAGERNOTAVAILABLE = HRESULT($C00D108D);
  8273.   {$EXTERNALSYM NS_E_WMPCORE_ERRORMANAGERNOTAVAILABLE}
  8274.  
  8275. //
  8276. // MessageId: NS_E_WMPCORE_WEBHELPFAILED
  8277. //
  8278. // MessageText:
  8279. //
  8280. //  Failed launching WebHelp URL.%0
  8281. //
  8282.   NS_E_WMPCORE_WEBHELPFAILED       = HRESULT($C00D108E);
  8283.   {$EXTERNALSYM NS_E_WMPCORE_WEBHELPFAILED}
  8284.  
  8285. //
  8286. // MessageId: NS_E_WMPCORE_MEDIA_ERROR_RESUME_FAILED
  8287. //
  8288. // MessageText:
  8289. //
  8290. //  Could not resume playing next item in playlist.%0
  8291. //
  8292.   NS_E_WMPCORE_MEDIA_ERROR_RESUME_FAILED = HRESULT($C00D108F);
  8293.   {$EXTERNALSYM NS_E_WMPCORE_MEDIA_ERROR_RESUME_FAILED}
  8294.  
  8295. //
  8296. // MessageId: NS_E_WMPCORE_NO_REF_IN_ENTRY
  8297. //
  8298. // MessageText:
  8299. //
  8300. //  Windows Media Player cannot play the file because the associated Windows Media metafile playlist is not valid.%0
  8301. //
  8302.   NS_E_WMPCORE_NO_REF_IN_ENTRY     = HRESULT($C00D1090);
  8303.   {$EXTERNALSYM NS_E_WMPCORE_NO_REF_IN_ENTRY}
  8304.  
  8305. //
  8306. // MessageId: NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_NAME_EMPTY
  8307. //
  8308. // MessageText:
  8309. //
  8310. //  An empty string for playlist attribute name was found.%0
  8311. //
  8312.   NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_NAME_EMPTY = HRESULT($C00D1091);
  8313.   {$EXTERNALSYM NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_NAME_EMPTY}
  8314.  
  8315. //
  8316. // MessageId: NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_NAME_ILLEGAL
  8317. //
  8318. // MessageText:
  8319. //
  8320. //  An invalid playlist attribute name was found.%0
  8321. //
  8322.   NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_NAME_ILLEGAL = HRESULT($C00D1092);
  8323.   {$EXTERNALSYM NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_NAME_ILLEGAL}
  8324.  
  8325. //
  8326. // MessageId: NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_VALUE_EMPTY
  8327. //
  8328. // MessageText:
  8329. //
  8330. //  An empty string for a playlist attribute value was found.%0
  8331. //
  8332.   NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_VALUE_EMPTY = HRESULT($C00D1093);
  8333.   {$EXTERNALSYM NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_VALUE_EMPTY}
  8334.  
  8335. //
  8336. // MessageId: NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_VALUE_ILLEGAL
  8337. //
  8338. // MessageText:
  8339. //
  8340. //  An illegal value for a playlist attribute was found.%0
  8341. //
  8342.   NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_VALUE_ILLEGAL = HRESULT($C00D1094);
  8343.   {$EXTERNALSYM NS_E_WMPCORE_WMX_LIST_ATTRIBUTE_VALUE_ILLEGAL}
  8344.  
  8345. //
  8346. // MessageId: NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_NAME_EMPTY
  8347. //
  8348. // MessageText:
  8349. //
  8350. //  An empty string for a playlist item attribute name was found.%0
  8351. //
  8352.   NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_NAME_EMPTY = HRESULT($C00D1095);
  8353.   {$EXTERNALSYM NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_NAME_EMPTY}
  8354.  
  8355. //
  8356. // MessageId: NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_NAME_ILLEGAL
  8357. //
  8358. // MessageText:
  8359. //
  8360. //  An illegal value for a playlist item attribute name was found.%0
  8361. //
  8362.   NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_NAME_ILLEGAL = HRESULT($C00D1096);
  8363.   {$EXTERNALSYM NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_NAME_ILLEGAL}
  8364.  
  8365. //
  8366. // MessageId: NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_VALUE_EMPTY
  8367. //
  8368. // MessageText:
  8369. //
  8370. //  An illegal value for a playlist item attribute was found.%0
  8371. //
  8372.   NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_VALUE_EMPTY = HRESULT($C00D1097);
  8373.   {$EXTERNALSYM NS_E_WMPCORE_WMX_LIST_ITEM_ATTRIBUTE_VALUE_EMPTY}
  8374.  
  8375. //
  8376. // MessageId: NS_E_WMPCORE_LIST_ENTRY_NO_REF
  8377. //
  8378. // MessageText:
  8379. //
  8380. //  No entries found in the playlist file.%0
  8381. //
  8382.   NS_E_WMPCORE_LIST_ENTRY_NO_REF   = HRESULT($C00D1098);
  8383.   {$EXTERNALSYM NS_E_WMPCORE_LIST_ENTRY_NO_REF}
  8384.  
  8385. //
  8386. // MessageId: NS_E_WMPCORE_MISNAMED_FILE
  8387. //
  8388. // MessageText:
  8389. //
  8390. //  Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play.%0
  8391. //
  8392.   NS_E_WMPCORE_MISNAMED_FILE       = HRESULT($C00D1099);
  8393.   {$EXTERNALSYM NS_E_WMPCORE_MISNAMED_FILE}
  8394.  
  8395. //
  8396. // MessageId: NS_E_WMPCORE_CODEC_NOT_TRUSTED
  8397. //
  8398. // MessageText:
  8399. //
  8400. //  The codec downloaded for this media does not appear to be properly signed. Installation is not possible.%0
  8401. //
  8402.   NS_E_WMPCORE_CODEC_NOT_TRUSTED   = HRESULT($C00D109A);
  8403.   {$EXTERNALSYM NS_E_WMPCORE_CODEC_NOT_TRUSTED}
  8404.  
  8405. //
  8406. // MessageId: NS_E_WMPCORE_CODEC_NOT_FOUND
  8407. //
  8408. // MessageText:
  8409. //
  8410. //  Windows Media Player cannot play the file. One or more codecs required to play the file could not be found.%0
  8411. //
  8412.   NS_E_WMPCORE_CODEC_NOT_FOUND     = HRESULT($C00D109B);
  8413.   {$EXTERNALSYM NS_E_WMPCORE_CODEC_NOT_FOUND}
  8414.  
  8415. //
  8416. // MessageId: NS_E_WMPCORE_CODEC_DOWNLOAD_NOT_ALLOWED
  8417. //
  8418. // MessageText:
  8419. //
  8420. //  Some of the codecs required by this media are not installed on your system. Since the option for automatic codec acquisition is disabled, no codecs will be downloaded.%0
  8421. //
  8422.   NS_E_WMPCORE_CODEC_DOWNLOAD_NOT_ALLOWED = HRESULT($C00D109C);
  8423.   {$EXTERNALSYM NS_E_WMPCORE_CODEC_DOWNLOAD_NOT_ALLOWED}
  8424.  
  8425. //
  8426. // MessageId: NS_E_WMPCORE_ERROR_DOWNLOADING_PLAYLIST
  8427. //
  8428. // MessageText:
  8429. //
  8430. //  Failed to download the playlist file.%0
  8431. //
  8432.   NS_E_WMPCORE_ERROR_DOWNLOADING_PLAYLIST = HRESULT($C00D109D);
  8433.   {$EXTERNALSYM NS_E_WMPCORE_ERROR_DOWNLOADING_PLAYLIST}
  8434.  
  8435. //
  8436. // MessageId: NS_E_WMPCORE_FAILED_TO_BUILD_PLAYLIST
  8437. //
  8438. // MessageText:
  8439. //
  8440. //  Failed to build the playlist.%0
  8441. //
  8442.   NS_E_WMPCORE_FAILED_TO_BUILD_PLAYLIST = HRESULT($C00D109E);
  8443.   {$EXTERNALSYM NS_E_WMPCORE_FAILED_TO_BUILD_PLAYLIST}
  8444.  
  8445. //
  8446. // MessageId: NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_NONE
  8447. //
  8448. // MessageText:
  8449. //
  8450. //  Playlist has no alternates to switch into.%0
  8451. //
  8452.   NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_NONE = HRESULT($C00D109F);
  8453.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_NONE}
  8454.  
  8455. //
  8456. // MessageId: NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_EXHAUSTED
  8457. //
  8458. // MessageText:
  8459. //
  8460. //  No more playlist alternates available to switch to.%0
  8461. //
  8462.   NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_EXHAUSTED = HRESULT($C00D10A0);
  8463.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_EXHAUSTED}
  8464.  
  8465. //
  8466. // MessageId: NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_NAME_NOT_FOUND
  8467. //
  8468. // MessageText:
  8469. //
  8470. //  Could not find the name of the alternate playlist to switch into.%0
  8471. //
  8472.   NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_NAME_NOT_FOUND = HRESULT($C00D10A1);
  8473.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_NAME_NOT_FOUND}
  8474.  
  8475. //
  8476. // MessageId: NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_MORPH_FAILED
  8477. //
  8478. // MessageText:
  8479. //
  8480. //  Failed to switch to an alternate for this media.%0
  8481. //
  8482.   NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_MORPH_FAILED = HRESULT($C00D10A2);
  8483.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_MORPH_FAILED}
  8484.  
  8485. //
  8486. // MessageId: NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_INIT_FAILED
  8487. //
  8488. // MessageText:
  8489. //
  8490. //  Failed to initialize an alternate for the media.%0
  8491. //
  8492.   NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_INIT_FAILED = HRESULT($C00D10A3);
  8493.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_ITEM_ALTERNATE_INIT_FAILED}
  8494.  
  8495. //
  8496. // MessageId: NS_E_WMPCORE_MEDIA_ALTERNATE_REF_EMPTY
  8497. //
  8498. // MessageText:
  8499. //
  8500. //  No URL specified for the roll over Refs in the playlist file.%0
  8501. //
  8502.   NS_E_WMPCORE_MEDIA_ALTERNATE_REF_EMPTY = HRESULT($C00D10A4);
  8503.   {$EXTERNALSYM NS_E_WMPCORE_MEDIA_ALTERNATE_REF_EMPTY}
  8504.  
  8505. //
  8506. // MessageId: NS_E_WMPCORE_PLAYLIST_NO_EVENT_NAME
  8507. //
  8508. // MessageText:
  8509. //
  8510. //  Encountered a playlist with no name.%0
  8511. //
  8512.   NS_E_WMPCORE_PLAYLIST_NO_EVENT_NAME = HRESULT($C00D10A5);
  8513.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_NO_EVENT_NAME}
  8514.  
  8515. //
  8516. // MessageId: NS_E_WMPCORE_PLAYLIST_EVENT_ATTRIBUTE_ABSENT
  8517. //
  8518. // MessageText:
  8519. //
  8520. //  A required attribute in the event block of the playlist was not found.%0
  8521. //
  8522.   NS_E_WMPCORE_PLAYLIST_EVENT_ATTRIBUTE_ABSENT = HRESULT($C00D10A6);
  8523.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_EVENT_ATTRIBUTE_ABSENT}
  8524.  
  8525. //
  8526. // MessageId: NS_E_WMPCORE_PLAYLIST_EVENT_EMPTY
  8527. //
  8528. // MessageText:
  8529. //
  8530. //  No items were found in the event block of the playlist.%0
  8531. //
  8532.   NS_E_WMPCORE_PLAYLIST_EVENT_EMPTY = HRESULT($C00D10A7);
  8533.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_EVENT_EMPTY}
  8534.  
  8535. //
  8536. // MessageId: NS_E_WMPCORE_PLAYLIST_STACK_EMPTY
  8537. //
  8538. // MessageText:
  8539. //
  8540. //  No playlist was found while returning from a nested playlist.%0
  8541. //
  8542.   NS_E_WMPCORE_PLAYLIST_STACK_EMPTY = HRESULT($C00D10A8);
  8543.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_STACK_EMPTY}
  8544.  
  8545. //
  8546. // MessageId: NS_E_WMPCORE_CURRENT_MEDIA_NOT_ACTIVE
  8547. //
  8548. // MessageText:
  8549. //
  8550. //  The media item is not active currently.%0
  8551. //
  8552.   NS_E_WMPCORE_CURRENT_MEDIA_NOT_ACTIVE = HRESULT($C00D10A9);
  8553.   {$EXTERNALSYM NS_E_WMPCORE_CURRENT_MEDIA_NOT_ACTIVE}
  8554.  
  8555. //
  8556. // MessageId: NS_E_WMPCORE_USER_CANCEL
  8557. //
  8558. // MessageText:
  8559. //
  8560. //  Open was aborted by user.%0
  8561. //
  8562.   NS_E_WMPCORE_USER_CANCEL         = HRESULT($C00D10AB);
  8563.   {$EXTERNALSYM NS_E_WMPCORE_USER_CANCEL}
  8564.  
  8565. //
  8566. // MessageId: NS_E_WMPCORE_PLAYLIST_REPEAT_EMPTY
  8567. //
  8568. // MessageText:
  8569. //
  8570. //  No items were found inside the playlist repeat block.%0
  8571. //
  8572.   NS_E_WMPCORE_PLAYLIST_REPEAT_EMPTY = HRESULT($C00D10AC);
  8573.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_REPEAT_EMPTY}
  8574.  
  8575. //
  8576. // MessageId: NS_E_WMPCORE_PLAYLIST_REPEAT_START_MEDIA_NONE
  8577. //
  8578. // MessageText:
  8579. //
  8580. //  Media object corresponding to start of a playlist repeat block was not found.%0
  8581. //
  8582.   NS_E_WMPCORE_PLAYLIST_REPEAT_START_MEDIA_NONE = HRESULT($C00D10AD);
  8583.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_REPEAT_START_MEDIA_NONE}
  8584.  
  8585. //
  8586. // MessageId: NS_E_WMPCORE_PLAYLIST_REPEAT_END_MEDIA_NONE
  8587. //
  8588. // MessageText:
  8589. //
  8590. //  Media object corresponding to the end of a playlist repeat block was not found.%0
  8591. //
  8592.   NS_E_WMPCORE_PLAYLIST_REPEAT_END_MEDIA_NONE = HRESULT($C00D10AE);
  8593.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_REPEAT_END_MEDIA_NONE}
  8594.  
  8595. //
  8596. // MessageId: NS_E_WMPCORE_INVALID_PLAYLIST_URL
  8597. //
  8598. // MessageText:
  8599. //
  8600. //  Playlist URL supplied to the playlist manager is invalid.%0
  8601. //
  8602.   NS_E_WMPCORE_INVALID_PLAYLIST_URL = HRESULT($C00D10AF);
  8603.   {$EXTERNALSYM NS_E_WMPCORE_INVALID_PLAYLIST_URL}
  8604.  
  8605. //
  8606. // MessageId: NS_E_WMPCORE_MISMATCHED_RUNTIME
  8607. //
  8608. // MessageText:
  8609. //
  8610. //  Windows Media Player cannot play the file because it is corrupted.%0
  8611. //
  8612.   NS_E_WMPCORE_MISMATCHED_RUNTIME  = HRESULT($C00D10B0);
  8613.   {$EXTERNALSYM NS_E_WMPCORE_MISMATCHED_RUNTIME}
  8614.  
  8615. //
  8616. // MessageId: NS_E_WMPCORE_PLAYLIST_IMPORT_FAILED_NO_ITEMS
  8617. //
  8618. // MessageText:
  8619. //
  8620. //  Windows Media Player cannot import the playlist to Media Library because the playlist is empty.%0
  8621. //
  8622.   NS_E_WMPCORE_PLAYLIST_IMPORT_FAILED_NO_ITEMS = HRESULT($C00D10B1);
  8623.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_IMPORT_FAILED_NO_ITEMS}
  8624.  
  8625. //
  8626. // MessageId: NS_E_WMPCORE_VIDEO_TRANSFORM_FILTER_INSERTION
  8627. //
  8628. // MessageText:
  8629. //
  8630. //  An error has occurred that could prevent the changing of the video contrast on this media.%0
  8631. //
  8632.   NS_E_WMPCORE_VIDEO_TRANSFORM_FILTER_INSERTION = HRESULT($C00D10B2);
  8633.   {$EXTERNALSYM NS_E_WMPCORE_VIDEO_TRANSFORM_FILTER_INSERTION}
  8634.  
  8635. //
  8636. // MessageId: NS_E_WMPCORE_MEDIA_UNAVAILABLE
  8637. //
  8638. // MessageText:
  8639. //
  8640. //  Windows Media Player cannot play this file. Connect to the Internet or insert the removable media on which the file is located, and then try to play the file again.%0
  8641. //
  8642.   NS_E_WMPCORE_MEDIA_UNAVAILABLE   = HRESULT($C00D10B3);
  8643.   {$EXTERNALSYM NS_E_WMPCORE_MEDIA_UNAVAILABLE}
  8644.  
  8645. //
  8646. // MessageId: NS_E_WMPCORE_WMX_ENTRYREF_NO_REF
  8647. //
  8648. // MessageText:
  8649. //
  8650. //  The playlist contains an ENTRYREF for which no href was parsed. Check the syntax of playlist file.%0
  8651. //
  8652.   NS_E_WMPCORE_WMX_ENTRYREF_NO_REF = HRESULT($C00D10B4);
  8653.   {$EXTERNALSYM NS_E_WMPCORE_WMX_ENTRYREF_NO_REF}
  8654.  
  8655. //
  8656. // MessageId: NS_E_WMPCORE_NO_PLAYABLE_MEDIA_IN_PLAYLIST
  8657. //
  8658. // MessageText:
  8659. //
  8660. //  Windows Media Player cannot play any items in this playlist. For additional information, right-click an item that cannot be played, and then click Error Details.%0
  8661. //
  8662.   NS_E_WMPCORE_NO_PLAYABLE_MEDIA_IN_PLAYLIST = HRESULT($C00D10B5);
  8663.   {$EXTERNALSYM NS_E_WMPCORE_NO_PLAYABLE_MEDIA_IN_PLAYLIST}
  8664.  
  8665. //
  8666. // MessageId: NS_E_WMPCORE_PLAYLIST_EMPTY_NESTED_PLAYLIST_SKIPPED_ITEMS
  8667. //
  8668. // MessageText:
  8669. //
  8670. //  Windows Media Player cannot play some or all of the playlist items.%0
  8671. //
  8672.   NS_E_WMPCORE_PLAYLIST_EMPTY_NESTED_PLAYLIST_SKIPPED_ITEMS = HRESULT($C00D10B6);
  8673.   {$EXTERNALSYM NS_E_WMPCORE_PLAYLIST_EMPTY_NESTED_PLAYLIST_SKIPPED_ITEMS}
  8674.  
  8675. //
  8676. // MessageId: NS_E_WMPCORE_BUSY
  8677. //
  8678. // MessageText:
  8679. //
  8680. //  Windows Media Player cannot play the file at this time. Try again later.%0
  8681. //
  8682.   NS_E_WMPCORE_BUSY                = HRESULT($C00D10B7);
  8683.   {$EXTERNALSYM NS_E_WMPCORE_BUSY}
  8684.  
  8685. //
  8686. // MessageId: NS_E_WMPCORE_MEDIA_CHILD_PLAYLIST_UNAVAILABLE
  8687. //
  8688. // MessageText:
  8689. //
  8690. //  There is no child playlist available for this media item at this time.%0
  8691. //
  8692.   NS_E_WMPCORE_MEDIA_CHILD_PLAYLIST_UNAVAILABLE = HRESULT($C00D10B8);
  8693.   {$EXTERNALSYM NS_E_WMPCORE_MEDIA_CHILD_PLAYLIST_UNAVAILABLE}
  8694.  
  8695. //
  8696. // MessageId: NS_E_WMPCORE_MEDIA_NO_CHILD_PLAYLIST
  8697. //
  8698. // MessageText:
  8699. //
  8700. //  There is no child playlist for this media item.%0
  8701. //
  8702.   NS_E_WMPCORE_MEDIA_NO_CHILD_PLAYLIST = HRESULT($C00D10B9);
  8703.   {$EXTERNALSYM NS_E_WMPCORE_MEDIA_NO_CHILD_PLAYLIST}
  8704.  
  8705. //
  8706. // MessageId: NS_E_WMPCORE_FILE_NOT_FOUND
  8707. //
  8708. // MessageText:
  8709. //
  8710. //  Windows Media Player cannot play one or more files. Right-click the file, and then click Error Details to view information about the error.%0
  8711. //
  8712.   NS_E_WMPCORE_FILE_NOT_FOUND      = HRESULT($C00D10BA);
  8713.   {$EXTERNALSYM NS_E_WMPCORE_FILE_NOT_FOUND}
  8714.  
  8715. //
  8716. // MessageId: NS_E_WMPCORE_TEMP_FILE_NOT_FOUND
  8717. //
  8718. // MessageText:
  8719. //
  8720. //  The temporary file was not found.%0
  8721. //
  8722.   NS_E_WMPCORE_TEMP_FILE_NOT_FOUND = HRESULT($C00D10BB);
  8723.   {$EXTERNALSYM NS_E_WMPCORE_TEMP_FILE_NOT_FOUND}
  8724.  
  8725. //
  8726. // MessageId: NS_E_WMDM_REVOKED
  8727. //
  8728. // MessageText:
  8729. //
  8730. //  Windows Media Player cannot transfer media to the portable device without an update.  Please click More Information to find out how to update your device.%0
  8731. //
  8732.   NS_E_WMDM_REVOKED                = HRESULT($C00D10BC);
  8733.   {$EXTERNALSYM NS_E_WMDM_REVOKED}
  8734.  
  8735. //
  8736. // MessageId: NS_E_DDRAW_GENERIC
  8737. //
  8738. // MessageText:
  8739. //
  8740. //  Windows Media Player cannot play the video stream because of a problem with your video card.%0
  8741. //
  8742.   NS_E_DDRAW_GENERIC               = HRESULT($C00D10BD);
  8743.   {$EXTERNALSYM NS_E_DDRAW_GENERIC}
  8744.  
  8745. //
  8746. // MessageId: NS_E_DISPLAY_MODE_CHANGE_FAILED
  8747. //
  8748. // MessageText:
  8749. //
  8750. //  Windows Media Player failed to change the screen mode for fullscreen video playback.%0
  8751. //
  8752.   NS_E_DISPLAY_MODE_CHANGE_FAILED  = HRESULT($C00D10BE);
  8753.   {$EXTERNALSYM NS_E_DISPLAY_MODE_CHANGE_FAILED}
  8754.  
  8755. //
  8756. // MessageId: NS_E_PLAYLIST_CONTAINS_ERRORS
  8757. //
  8758. // MessageText:
  8759. //
  8760. //  One or more items in the playlist cannot be played. For more details, right-click an item in the playlist, and then click Error Details.%0
  8761. //
  8762.   NS_E_PLAYLIST_CONTAINS_ERRORS    = HRESULT($C00D10BF);
  8763.   {$EXTERNALSYM NS_E_PLAYLIST_CONTAINS_ERRORS}
  8764.  
  8765. //
  8766. // MessageId: NS_E_CHANGING_PROXY_NAME
  8767. //
  8768. // MessageText:
  8769. //
  8770. //  Can't change proxy name if the proxy setting is not set to custom.%0
  8771. //
  8772.   NS_E_CHANGING_PROXY_NAME         = HRESULT($C00D10C0);
  8773.   {$EXTERNALSYM NS_E_CHANGING_PROXY_NAME}
  8774.  
  8775. //
  8776. // MessageId: NS_E_CHANGING_PROXY_PORT
  8777. //
  8778. // MessageText:
  8779. //
  8780. //  Can't change proxy port if the proxy setting is not set to custom.%0
  8781. //
  8782.   NS_E_CHANGING_PROXY_PORT         = HRESULT($C00D10C1);
  8783.   {$EXTERNALSYM NS_E_CHANGING_PROXY_PORT}
  8784.  
  8785. //
  8786. // MessageId: NS_E_CHANGING_PROXY_EXCEPTIONLIST
  8787. //
  8788. // MessageText:
  8789. //
  8790. //  Can't change proxy exception list if the proxy setting is not set to custom.%0
  8791. //
  8792.   NS_E_CHANGING_PROXY_EXCEPTIONLIST = HRESULT($C00D10C2);
  8793.   {$EXTERNALSYM NS_E_CHANGING_PROXY_EXCEPTIONLIST}
  8794.  
  8795. //
  8796. // MessageId: NS_E_CHANGING_PROXYBYPASS
  8797. //
  8798. // MessageText:
  8799. //
  8800. //  Can't change proxy bypass flag if the proxy setting is not set to custom.%0
  8801. //
  8802.   NS_E_CHANGING_PROXYBYPASS        = HRESULT($C00D10C3);
  8803.   {$EXTERNALSYM NS_E_CHANGING_PROXYBYPASS}
  8804.  
  8805. //
  8806. // MessageId: NS_E_CHANGING_PROXY_PROTOCOL_NOT_FOUND
  8807. //
  8808. // MessageText:
  8809. //
  8810. //  Can't find specified protocol.%0
  8811. //
  8812.   NS_E_CHANGING_PROXY_PROTOCOL_NOT_FOUND = HRESULT($C00D10C4);
  8813.   {$EXTERNALSYM NS_E_CHANGING_PROXY_PROTOCOL_NOT_FOUND}
  8814.  
  8815. //
  8816. // MessageId: NS_E_GRAPH_NOAUDIOLANGUAGE
  8817. //
  8818. // MessageText:
  8819. //
  8820. //  Can't change language settings.  Either the graph has no audio, or the audio only supports one language.%0
  8821. //
  8822.   NS_E_GRAPH_NOAUDIOLANGUAGE       = HRESULT($C00D10C5);
  8823.   {$EXTERNALSYM NS_E_GRAPH_NOAUDIOLANGUAGE}
  8824.  
  8825. //
  8826. // MessageId: NS_E_GRAPH_NOAUDIOLANGUAGESELECTED
  8827. //
  8828. // MessageText:
  8829. //
  8830. //  The graph has no audio language selected.%0
  8831. //
  8832.   NS_E_GRAPH_NOAUDIOLANGUAGESELECTED = HRESULT($C00D10C6);
  8833.   {$EXTERNALSYM NS_E_GRAPH_NOAUDIOLANGUAGESELECTED}
  8834.  
  8835. //
  8836. // MessageId: NS_E_CORECD_NOTAMEDIACD
  8837. //
  8838. // MessageText:
  8839. //
  8840. //  This is not a media CD.%0
  8841. //
  8842.   NS_E_CORECD_NOTAMEDIACD          = HRESULT($C00D10C7);
  8843.   {$EXTERNALSYM NS_E_CORECD_NOTAMEDIACD}
  8844.  
  8845. //
  8846. // MessageId: NS_E_WMPCORE_MEDIA_URL_TOO_LONG
  8847. //
  8848. // MessageText:
  8849. //
  8850. //  Windows Media Player cannot play this file because the URL is too long.%0
  8851. //
  8852.   NS_E_WMPCORE_MEDIA_URL_TOO_LONG  = HRESULT($C00D10C8);
  8853.   {$EXTERNALSYM NS_E_WMPCORE_MEDIA_URL_TOO_LONG}
  8854.  
  8855. //
  8856. // MessageId: NS_E_WMPFLASH_CANT_FIND_COM_SERVER
  8857. //
  8858. // MessageText:
  8859. //
  8860. //  Windows Media Player needs the Macromedia Flash Player to play this content. Windows Media Player was not able to detect the Flash player on your system. To play the selected item, you must install the Macromedia Flash Player from the Macromedia Web site, and then try to play the item again.%0
  8861. //
  8862.   NS_E_WMPFLASH_CANT_FIND_COM_SERVER = HRESULT($C00D10C9);
  8863.   {$EXTERNALSYM NS_E_WMPFLASH_CANT_FIND_COM_SERVER}
  8864.  
  8865. //
  8866. // MessageId: NS_E_WMPFLASH_INCOMPATIBLEVERSION
  8867. //
  8868. // MessageText:
  8869. //
  8870. //  To play the selected item, you must install an updated version of the Macromedia Flash Player from the Macromedia Web site, and then try to play the item again.%0
  8871. //
  8872.   NS_E_WMPFLASH_INCOMPATIBLEVERSION = HRESULT($C00D10CA);
  8873.   {$EXTERNALSYM NS_E_WMPFLASH_INCOMPATIBLEVERSION}
  8874.  
  8875. //
  8876. // MessageId: NS_E_WMPOCXGRAPH_IE_DISALLOWS_ACTIVEX_CONTROLS
  8877. //
  8878. // MessageText:
  8879. //
  8880. //  The use of ActiveX controls has been turned off in Internet Explorer. As a result Windows Media Player will not be able to playback this content.%0
  8881. //
  8882.   NS_E_WMPOCXGRAPH_IE_DISALLOWS_ACTIVEX_CONTROLS = HRESULT($C00D10CB);
  8883.   {$EXTERNALSYM NS_E_WMPOCXGRAPH_IE_DISALLOWS_ACTIVEX_CONTROLS}
  8884.  
  8885. //
  8886. // MessageId: NS_E_NEED_CORE_REFERENCE
  8887. //
  8888. // MessageText:
  8889. //
  8890. //  The use of this method requires an existing reference to the Player object.%0
  8891. //
  8892.   NS_E_NEED_CORE_REFERENCE         = HRESULT($C00D10CC);
  8893.   {$EXTERNALSYM NS_E_NEED_CORE_REFERENCE}
  8894.  
  8895. //
  8896. // MessageId: NS_E_MEDIACD_READ_ERROR
  8897. //
  8898. // MessageText:
  8899. //
  8900. //  There was an error reading from the CD-ROM.%0
  8901. //
  8902.   NS_E_MEDIACD_READ_ERROR          = HRESULT($C00D10CD);
  8903.   {$EXTERNALSYM NS_E_MEDIACD_READ_ERROR}
  8904.  
  8905. //
  8906. // MessageId: NS_E_IE_DISALLOWS_ACTIVEX_CONTROLS
  8907. //
  8908. // MessageText:
  8909. //
  8910. //  Internet Explorer is set to disallow ActiveX controls.%0
  8911. //
  8912.   NS_E_IE_DISALLOWS_ACTIVEX_CONTROLS = HRESULT($C00D10CE);
  8913.   {$EXTERNALSYM NS_E_IE_DISALLOWS_ACTIVEX_CONTROLS}
  8914.  
  8915. //
  8916. // MessageId: NS_E_FLASH_PLAYBACK_NOT_ALLOWED
  8917. //
  8918. // MessageText:
  8919. //
  8920. //  Flash playback has been turned off in Windows Media Player.%0
  8921. //
  8922.   NS_E_FLASH_PLAYBACK_NOT_ALLOWED  = HRESULT($C00D10CF);
  8923.   {$EXTERNALSYM NS_E_FLASH_PLAYBACK_NOT_ALLOWED}
  8924.  
  8925. //
  8926. // MessageId: NS_E_UNABLE_TO_CREATE_RIP_LOCATION
  8927. //
  8928. // MessageText:
  8929. //
  8930. //  Media Player was unable to create a valid location to copy the CD track.%0
  8931. //
  8932.   NS_E_UNABLE_TO_CREATE_RIP_LOCATION = HRESULT($C00D10D0);
  8933.   {$EXTERNALSYM NS_E_UNABLE_TO_CREATE_RIP_LOCATION}
  8934.  
  8935. //
  8936. // MessageId: NS_E_WMPCORE_SOME_CODECS_MISSING
  8937. //
  8938. // MessageText:
  8939. //
  8940. //  One or more codecs required to open this content could not be found.%0
  8941. //
  8942.   NS_E_WMPCORE_SOME_CODECS_MISSING = HRESULT($C00D10D1);
  8943.   {$EXTERNALSYM NS_E_WMPCORE_SOME_CODECS_MISSING}
  8944.  
  8945. //
  8946. // WMP Core  Success codes
  8947. //
  8948. //
  8949. // MessageId: NS_S_WMPCORE_PLAYLISTCLEARABORT
  8950. //
  8951. // MessageText:
  8952. //
  8953. //  Failed to clear playlist because it was aborted by user.%0
  8954. //
  8955.   NS_S_WMPCORE_PLAYLISTCLEARABORT  = HRESULT($000D10FE);
  8956.   {$EXTERNALSYM NS_S_WMPCORE_PLAYLISTCLEARABORT}
  8957.  
  8958. //
  8959. // MessageId: NS_S_WMPCORE_PLAYLISTREMOVEITEMABORT
  8960. //
  8961. // MessageText:
  8962. //
  8963. //  Failed to remove item in the playlist since it was aborted by user.%0
  8964. //
  8965.   NS_S_WMPCORE_PLAYLISTREMOVEITEMABORT = HRESULT($000D10FF);
  8966.   {$EXTERNALSYM NS_S_WMPCORE_PLAYLISTREMOVEITEMABORT}
  8967.  
  8968. //
  8969. // MessageId: NS_S_WMPCORE_PLAYLIST_CREATION_PENDING
  8970. //
  8971. // MessageText:
  8972. //
  8973. //  Playlist is being generated asynchronously.%0
  8974. //
  8975.   NS_S_WMPCORE_PLAYLIST_CREATION_PENDING = HRESULT($000D1102);
  8976.   {$EXTERNALSYM NS_S_WMPCORE_PLAYLIST_CREATION_PENDING}
  8977.  
  8978. //
  8979. // MessageId: NS_S_WMPCORE_MEDIA_VALIDATION_PENDING
  8980. //
  8981. // MessageText:
  8982. //
  8983. //  Validation of the media is pending...%0
  8984. //
  8985.   NS_S_WMPCORE_MEDIA_VALIDATION_PENDING = HRESULT($000D1103);
  8986.   {$EXTERNALSYM NS_S_WMPCORE_MEDIA_VALIDATION_PENDING}
  8987.  
  8988. //
  8989. // MessageId: NS_S_WMPCORE_PLAYLIST_REPEAT_SECONDARY_SEGMENTS_IGNORED
  8990. //
  8991. // MessageText:
  8992. //
  8993. //  Encountered more than one Repeat block during ASX processing.%0
  8994. //
  8995.   NS_S_WMPCORE_PLAYLIST_REPEAT_SECONDARY_SEGMENTS_IGNORED = HRESULT($000D1104);
  8996.   {$EXTERNALSYM NS_S_WMPCORE_PLAYLIST_REPEAT_SECONDARY_SEGMENTS_IGNORED}
  8997.  
  8998. //
  8999. // MessageId: NS_S_WMPCORE_COMMAND_NOT_AVAILABLE
  9000. //
  9001. // MessageText:
  9002. //
  9003. //  Current state of WMP disallows calling this method or property.%0
  9004. //
  9005.   NS_S_WMPCORE_COMMAND_NOT_AVAILABLE = HRESULT($000D1105);
  9006.   {$EXTERNALSYM NS_S_WMPCORE_COMMAND_NOT_AVAILABLE}
  9007.  
  9008. //
  9009. // MessageId: NS_S_WMPCORE_PLAYLIST_NAME_AUTO_GENERATED
  9010. //
  9011. // MessageText:
  9012. //
  9013. //  Name for the playlist has been auto generated.%0
  9014. //
  9015.   NS_S_WMPCORE_PLAYLIST_NAME_AUTO_GENERATED = HRESULT($000D1106);
  9016.   {$EXTERNALSYM NS_S_WMPCORE_PLAYLIST_NAME_AUTO_GENERATED}
  9017.  
  9018. //
  9019. // MessageId: NS_S_WMPCORE_PLAYLIST_IMPORT_MISSING_ITEMS
  9020. //
  9021. // MessageText:
  9022. //
  9023. //  The imported playlist does not contain all items from the original.%0
  9024. //
  9025.   NS_S_WMPCORE_PLAYLIST_IMPORT_MISSING_ITEMS = HRESULT($000D1107);
  9026.   {$EXTERNALSYM NS_S_WMPCORE_PLAYLIST_IMPORT_MISSING_ITEMS}
  9027.  
  9028. //
  9029. // MessageId: NS_S_WMPCORE_PLAYLIST_COLLAPSED_TO_SINGLE_MEDIA
  9030. //
  9031. // MessageText:
  9032. //
  9033. //  The M3U playlist has been ignored because it only contains one item.%0
  9034. //
  9035.   NS_S_WMPCORE_PLAYLIST_COLLAPSED_TO_SINGLE_MEDIA = HRESULT($000D1108);
  9036.   {$EXTERNALSYM NS_S_WMPCORE_PLAYLIST_COLLAPSED_TO_SINGLE_MEDIA}
  9037.  
  9038. //
  9039. // MessageId: NS_S_WMPCORE_MEDIA_CHILD_PLAYLIST_OPEN_PENDING
  9040. //
  9041. // MessageText:
  9042. //
  9043. //  The open for the child playlist associated with this media is pending.%0
  9044. //
  9045.   NS_S_WMPCORE_MEDIA_CHILD_PLAYLIST_OPEN_PENDING = HRESULT($000D1109);
  9046.   {$EXTERNALSYM NS_S_WMPCORE_MEDIA_CHILD_PLAYLIST_OPEN_PENDING}
  9047.  
  9048. //
  9049. // MessageId: NS_S_WMPCORE_MORE_NODES_AVAIABLE
  9050. //
  9051. // MessageText:
  9052. //
  9053. //  More nodes support the interface requested, but the array for returning them is full.%0
  9054. //
  9055.   NS_S_WMPCORE_MORE_NODES_AVAIABLE = HRESULT($000D110A);
  9056.   {$EXTERNALSYM NS_S_WMPCORE_MORE_NODES_AVAIABLE}
  9057.  
  9058. //
  9059. // WMP Internet Manager error codes
  9060. //
  9061. //
  9062. // MessageId: NS_E_WMPIM_USEROFFLINE
  9063. //
  9064. // MessageText:
  9065. //
  9066. //  Windows Media Player has detected that you are not connected to the Internet. Connect to the Internet, and then try again.%0
  9067. //
  9068.   NS_E_WMPIM_USEROFFLINE           = HRESULT($C00D1126);
  9069.   {$EXTERNALSYM NS_E_WMPIM_USEROFFLINE}
  9070.  
  9071. //
  9072. // MessageId: NS_E_WMPIM_USERCANCELED
  9073. //
  9074. // MessageText:
  9075. //
  9076. //  User cancelled attempt to connect to the Internet.%0
  9077. //
  9078.   NS_E_WMPIM_USERCANCELED          = HRESULT($C00D1127);
  9079.   {$EXTERNALSYM NS_E_WMPIM_USERCANCELED}
  9080.  
  9081. //
  9082. // MessageId: NS_E_WMPIM_DIALUPFAILED
  9083. //
  9084. // MessageText:
  9085. //
  9086. //  Attempt to dial connection to the Internet failed.%0
  9087. //
  9088.   NS_E_WMPIM_DIALUPFAILED          = HRESULT($C00D1128);
  9089.   {$EXTERNALSYM NS_E_WMPIM_DIALUPFAILED}
  9090.  
  9091. //
  9092. // MessageId: NS_E_WINSOCK_ERROR_STRING
  9093. //
  9094. // MessageText:
  9095. //
  9096. //  Windows Media Player has encountered an unknown network error.%0
  9097. //
  9098.   NS_E_WINSOCK_ERROR_STRING        = HRESULT($C00D1129);
  9099.   {$EXTERNALSYM NS_E_WINSOCK_ERROR_STRING}
  9100.  
  9101. //
  9102. // WMP Backup and restore error and success codes
  9103. //
  9104. //
  9105. // MessageId: NS_E_WMPBR_NOLISTENER
  9106. //
  9107. // MessageText:
  9108. //
  9109. //  No window is currently listening to Backup and Restore events.%0
  9110. //
  9111.   NS_E_WMPBR_NOLISTENER            = HRESULT($C00D1130);
  9112.   {$EXTERNALSYM NS_E_WMPBR_NOLISTENER}
  9113.  
  9114. //
  9115. // MessageId: NS_E_WMPBR_BACKUPCANCEL
  9116. //
  9117. // MessageText:
  9118. //
  9119. //  Backup of your licenses has been cancelled.  Please try again to ensure license backup.%0
  9120. //
  9121.   NS_E_WMPBR_BACKUPCANCEL          = HRESULT($C00D1131);
  9122.   {$EXTERNALSYM NS_E_WMPBR_BACKUPCANCEL}
  9123.  
  9124. //
  9125. // MessageId: NS_E_WMPBR_RESTORECANCEL
  9126. //
  9127. // MessageText:
  9128. //
  9129. //  The licenses were not restored because the restoration was cancelled.%0
  9130. //
  9131.   NS_E_WMPBR_RESTORECANCEL         = HRESULT($C00D1132);
  9132.   {$EXTERNALSYM NS_E_WMPBR_RESTORECANCEL}
  9133.  
  9134. //
  9135. // MessageId: NS_E_WMPBR_ERRORWITHURL
  9136. //
  9137. // MessageText:
  9138. //
  9139. //  An error occurred during the backup or restore operation that requires a web page be displayed to the user.%0
  9140. //
  9141.   NS_E_WMPBR_ERRORWITHURL          = HRESULT($C00D1133);
  9142.   {$EXTERNALSYM NS_E_WMPBR_ERRORWITHURL}
  9143.  
  9144. //
  9145. // MessageId: NS_E_WMPBR_NAMECOLLISION
  9146. //
  9147. // MessageText:
  9148. //
  9149. //  The licenses were not backed up because the backup was cancelled.%0
  9150. //
  9151.   NS_E_WMPBR_NAMECOLLISION         = HRESULT($C00D1134);
  9152.   {$EXTERNALSYM NS_E_WMPBR_NAMECOLLISION}
  9153.  
  9154. //
  9155. // MessageId: NS_S_WMPBR_SUCCESS
  9156. //
  9157. // MessageText:
  9158. //
  9159. //  Backup or Restore successful!.%0
  9160. //
  9161.   NS_S_WMPBR_SUCCESS               = HRESULT($000D1135);
  9162.   {$EXTERNALSYM NS_S_WMPBR_SUCCESS}
  9163.  
  9164. //
  9165. // MessageId: NS_S_WMPBR_PARTIALSUCCESS
  9166. //
  9167. // MessageText:
  9168. //
  9169. //  Transfer complete with limitations.%0
  9170. //
  9171.   NS_S_WMPBR_PARTIALSUCCESS        = HRESULT($000D1136);
  9172.   {$EXTERNALSYM NS_S_WMPBR_PARTIALSUCCESS}
  9173.  
  9174. //
  9175. // MessageId: NS_E_WMPBR_DRIVE_INVALID
  9176. //
  9177. // MessageText:
  9178. //
  9179. //  The location specified for restoring licenses is not valid. Choose another location, and then try again.%0
  9180. //
  9181.   NS_E_WMPBR_DRIVE_INVALID         = HRESULT($C00D1137);
  9182.   {$EXTERNALSYM NS_E_WMPBR_DRIVE_INVALID}
  9183.  
  9184. //
  9185. // WMP Effects Success codes
  9186. //
  9187. //
  9188. // MessageId: NS_S_WMPEFFECT_TRANSPARENT
  9189. //
  9190. // MessageText:
  9191. //
  9192. //  Request to the effects control to change transparency status to transparent.%0
  9193. //
  9194.   NS_S_WMPEFFECT_TRANSPARENT       = HRESULT($000D1144);
  9195.   {$EXTERNALSYM NS_S_WMPEFFECT_TRANSPARENT}
  9196.  
  9197. //
  9198. // MessageId: NS_S_WMPEFFECT_OPAQUE
  9199. //
  9200. // MessageText:
  9201. //
  9202. //  Request to the effects control to change transparency status to opaque.%0
  9203. //
  9204.   NS_S_WMPEFFECT_OPAQUE            = HRESULT($000D1145);
  9205.   {$EXTERNALSYM NS_S_WMPEFFECT_OPAQUE}
  9206.  
  9207. //
  9208. // WMP Application Success codes
  9209. //
  9210. //
  9211. // MessageId: NS_S_OPERATION_PENDING
  9212. //
  9213. // MessageText:
  9214. //
  9215. //  The requested application pane is performing an operation and will not be relased.%0
  9216. //
  9217.   NS_S_OPERATION_PENDING           = HRESULT($000D114E);
  9218.   {$EXTERNALSYM NS_S_OPERATION_PENDING}
  9219.  
  9220. //
  9221. // WMP DVD Error Codes
  9222. //
  9223. //
  9224. // MessageId: NS_E_DVD_NO_SUBPICTURE_STREAM
  9225. //
  9226. // MessageText:
  9227. //
  9228. //  Windows Media Player cannot display subtitles or highlights in menus. Reinstall
  9229. //  the DVD decoder or contact your device manufacturer to obtain an updated decoder,
  9230. //  and then try again.%0
  9231. //
  9232.   NS_E_DVD_NO_SUBPICTURE_STREAM    = HRESULT($C00D1162);
  9233.   {$EXTERNALSYM NS_E_DVD_NO_SUBPICTURE_STREAM}
  9234.  
  9235. //
  9236. // MessageId: NS_E_DVD_COPY_PROTECT
  9237. //
  9238. // MessageText:
  9239. //
  9240. //  Windows Media Player cannot play this DVD because a problem occurred with digital copyright protection.%0
  9241. //
  9242.   NS_E_DVD_COPY_PROTECT            = HRESULT($C00D1163);
  9243.   {$EXTERNALSYM NS_E_DVD_COPY_PROTECT}
  9244.  
  9245. //
  9246. // MessageId: NS_E_DVD_AUTHORING_PROBLEM
  9247. //
  9248. // MessageText:
  9249. //
  9250. //  Windows Media Player cannot play this DVD because the disc is incompatible with the Player.%0
  9251. //
  9252.   NS_E_DVD_AUTHORING_PROBLEM       = HRESULT($C00D1164);
  9253.   {$EXTERNALSYM NS_E_DVD_AUTHORING_PROBLEM}
  9254.  
  9255. //
  9256. // MessageId: NS_E_DVD_INVALID_DISC_REGION
  9257. //
  9258. // MessageText:
  9259. //
  9260. //  Windows Media Player cannot play this DVD because the disc prohibits playback in your region of the world. You must obtain a disc that is intended for your geographic region.%0
  9261. //
  9262.   NS_E_DVD_INVALID_DISC_REGION     = HRESULT($C00D1165);
  9263.   {$EXTERNALSYM NS_E_DVD_INVALID_DISC_REGION}
  9264.  
  9265. //
  9266. // MessageId: NS_E_DVD_COMPATIBLE_VIDEO_CARD
  9267. //
  9268. // MessageText:
  9269. //
  9270. //  Windows Media Player cannot play this DVD because your video card does not support DVD playback.%0
  9271. //
  9272.   NS_E_DVD_COMPATIBLE_VIDEO_CARD   = HRESULT($C00D1166);
  9273.   {$EXTERNALSYM NS_E_DVD_COMPATIBLE_VIDEO_CARD}
  9274.  
  9275. //
  9276. // MessageId: NS_E_DVD_MACROVISION
  9277. //
  9278. // MessageText:
  9279. //
  9280. //  Windows Media Player cannot play this DVD because a problem occurred with copyright protection.%0
  9281. //
  9282.   NS_E_DVD_MACROVISION             = HRESULT($C00D1167);
  9283.   {$EXTERNALSYM NS_E_DVD_MACROVISION}
  9284.  
  9285. //
  9286. // MessageId: NS_E_DVD_SYSTEM_DECODER_REGION
  9287. //
  9288. // MessageText:
  9289. //
  9290. //  Windows Media Player cannot play this DVD because the region assigned to your DVD drive does not match the region assigned to your DVD decoder.%0
  9291. //
  9292.   NS_E_DVD_SYSTEM_DECODER_REGION   = HRESULT($C00D1168);
  9293.   {$EXTERNALSYM NS_E_DVD_SYSTEM_DECODER_REGION}
  9294.  
  9295. //
  9296. // MessageId: NS_E_DVD_DISC_DECODER_REGION
  9297. //
  9298. // MessageText:
  9299. //
  9300. //  Windows Media Player cannot play this DVD because the disc prohibits playback
  9301. // in your region of the world. To play the disc by using the Player, you must
  9302. // obtain a disc that is intended for your geographic region.%0
  9303. //
  9304.   NS_E_DVD_DISC_DECODER_REGION     = HRESULT($C00D1169);
  9305.   {$EXTERNALSYM NS_E_DVD_DISC_DECODER_REGION}
  9306.  
  9307. //
  9308. // MessageId: NS_E_DVD_NO_VIDEO_STREAM
  9309. //
  9310. // MessageText:
  9311. //
  9312. // Windows Media Player is currently unable to play DVD video. Try decreasing
  9313. // the number of colors displayed on your monitor or decreasing the screen
  9314. // resolution. For additional solutions, click More Information to access the
  9315. // DVD Troubleshooter.%0
  9316. //
  9317.   NS_E_DVD_NO_VIDEO_STREAM         = HRESULT($C00D116A);
  9318.   {$EXTERNALSYM NS_E_DVD_NO_VIDEO_STREAM}
  9319.  
  9320. //
  9321. // MessageId: NS_E_DVD_NO_AUDIO_STREAM
  9322. //
  9323. // MessageText:
  9324. //
  9325. //  Windows Media Player cannot play DVD audio. Verify that your sound card is set up correctly, and then try again.%0
  9326. //
  9327.   NS_E_DVD_NO_AUDIO_STREAM         = HRESULT($C00D116B);
  9328.   {$EXTERNALSYM NS_E_DVD_NO_AUDIO_STREAM}
  9329.  
  9330. //
  9331. // MessageId: NS_E_DVD_GRAPH_BUILDING
  9332. //
  9333. // MessageText:
  9334. //
  9335. //  Windows Media Player cannot play DVD video. Close any open files and quit any other running programs, and then try again. If the problem continues, restart your computer.%0
  9336. //
  9337.   NS_E_DVD_GRAPH_BUILDING          = HRESULT($C00D116C);
  9338.   {$EXTERNALSYM NS_E_DVD_GRAPH_BUILDING}
  9339.  
  9340. //
  9341. // MessageId: NS_E_DVD_NO_DECODER
  9342. //
  9343. // MessageText:
  9344. //
  9345. //  Windows Media Player cannot play this DVD because a compatible DVD decoder is not installed on your computer.%0
  9346. //
  9347.   NS_E_DVD_NO_DECODER              = HRESULT($C00D116D);
  9348.   {$EXTERNALSYM NS_E_DVD_NO_DECODER}
  9349.  
  9350. //
  9351. // MessageId: NS_E_DVD_PARENTAL
  9352. //
  9353. // MessageText:
  9354. //
  9355. //  Windows Media Player cannot play this DVD segment because the segment has a parental rating higher than the rating you are authorized to view.%0
  9356. //
  9357.   NS_E_DVD_PARENTAL                = HRESULT($C00D116E);
  9358.   {$EXTERNALSYM NS_E_DVD_PARENTAL}
  9359.  
  9360. //
  9361. // MessageId: NS_E_DVD_CANNOT_JUMP
  9362. //
  9363. // MessageText:
  9364. //
  9365. //  Windows Media Player cannot skip to the requested location in the DVD at this time.%0
  9366. //
  9367.   NS_E_DVD_CANNOT_JUMP             = HRESULT($C00D116F);
  9368.   {$EXTERNALSYM NS_E_DVD_CANNOT_JUMP}
  9369.  
  9370. //
  9371. // MessageId: NS_E_DVD_DEVICE_CONTENTION
  9372. //
  9373. // MessageText:
  9374. //
  9375. //  Windows Media Player cannot play this DVD because it is currently in use by another program. Quit the other program that is using the DVD, and then try to play it again.%0
  9376. //
  9377.   NS_E_DVD_DEVICE_CONTENTION       = HRESULT($C00D1170);
  9378.   {$EXTERNALSYM NS_E_DVD_DEVICE_CONTENTION}
  9379.  
  9380. //
  9381. // MessageId: NS_E_DVD_NO_VIDEO_MEMORY
  9382. //
  9383. // MessageText:
  9384. //
  9385. //  Windows Media Player cannot play DVD video. Double-click Display in Control Panel to lower your screen resolution and color quality settings.%0
  9386. //
  9387.   NS_E_DVD_NO_VIDEO_MEMORY         = HRESULT($C00D1171);
  9388.   {$EXTERNALSYM NS_E_DVD_NO_VIDEO_MEMORY}
  9389.  
  9390. //
  9391. // MessageId: NS_E_DVD_CANNOT_COPY_PROTECTED
  9392. //
  9393. // MessageText:
  9394. //
  9395. //  Windows Media Player cannot copy this DVD because it is copy protected.%0
  9396. //
  9397.   NS_E_DVD_CANNOT_COPY_PROTECTED   = HRESULT($C00D1172);
  9398.   {$EXTERNALSYM NS_E_DVD_CANNOT_COPY_PROTECTED}
  9399.  
  9400. //
  9401. // MessageId: NS_E_DVD_REQUIRED_PROPERTY_NOT_SET
  9402. //
  9403. // MessageText:
  9404. //
  9405. //  One of more of the required properties has not been set.%0
  9406. //
  9407.   NS_E_DVD_REQUIRED_PROPERTY_NOT_SET = HRESULT($C00D1173);
  9408.   {$EXTERNALSYM NS_E_DVD_REQUIRED_PROPERTY_NOT_SET}
  9409.  
  9410. //
  9411. // MessageId: NS_E_DVD_INVALID_TITLE_CHAPTER
  9412. //
  9413. // MessageText:
  9414. //
  9415. //  The specified title and/or chapter number does not exist on this DVD.%0
  9416. //
  9417.   NS_E_DVD_INVALID_TITLE_CHAPTER   = HRESULT($C00D1174);
  9418.   {$EXTERNALSYM NS_E_DVD_INVALID_TITLE_CHAPTER}
  9419.  
  9420. //
  9421. // WMP PDA Error codes
  9422. //
  9423. //
  9424. // MessageId: NS_E_NO_CD_BURNER
  9425. //
  9426. // MessageText:
  9427. //
  9428. //  A CD recorder (burner) was not detected. Connect a CD recorder, and try copying again.%0
  9429. //
  9430.   NS_E_NO_CD_BURNER                = HRESULT($C00D1176);
  9431.   {$EXTERNALSYM NS_E_NO_CD_BURNER}
  9432.  
  9433. //
  9434. // MessageId: NS_E_DEVICE_IS_NOT_READY
  9435. //
  9436. // MessageText:
  9437. //
  9438. //  Windows Media Player does not detect any storage media in the selected device. Insert media into the device.%0
  9439. //
  9440.   NS_E_DEVICE_IS_NOT_READY         = HRESULT($C00D1177);
  9441.   {$EXTERNALSYM NS_E_DEVICE_IS_NOT_READY}
  9442.  
  9443. //
  9444. // MessageId: NS_E_PDA_UNSUPPORTED_FORMAT
  9445. //
  9446. // MessageText:
  9447. //
  9448. //  Windows Media Player cannot play the specified file. Your portable device does not support the specified format.%0
  9449. //
  9450.   NS_E_PDA_UNSUPPORTED_FORMAT      = HRESULT($C00D1178);
  9451.   {$EXTERNALSYM NS_E_PDA_UNSUPPORTED_FORMAT}
  9452.  
  9453. //
  9454. // MessageId: NS_E_NO_PDA
  9455. //
  9456. // MessageText:
  9457. //
  9458. //  Windows Media Player cannot detect a connected portable device. Connect your portable device, and try again.%0
  9459. //
  9460.   NS_E_NO_PDA                      = HRESULT($C00D1179);
  9461.   {$EXTERNALSYM NS_E_NO_PDA}
  9462.  
  9463. //
  9464. // MessageId: NS_E_PDA_UNSPECIFIED_ERROR
  9465. //
  9466. // MessageText:
  9467. //
  9468. //  Windows Media Player has encountered an error on the portable device.%0
  9469. //
  9470.   NS_E_PDA_UNSPECIFIED_ERROR       = HRESULT($C00D117A);
  9471.   {$EXTERNALSYM NS_E_PDA_UNSPECIFIED_ERROR}
  9472.  
  9473. //
  9474. // MessageId: NS_E_MEMSTORAGE_BAD_DATA
  9475. //
  9476. // MessageText:
  9477. //
  9478. //  Windows Media Player encountered an internal error in accessing a memory-based storage during a CD burning task.%0
  9479. //
  9480.   NS_E_MEMSTORAGE_BAD_DATA         = HRESULT($C00D117B);
  9481.   {$EXTERNALSYM NS_E_MEMSTORAGE_BAD_DATA}
  9482.  
  9483. //
  9484. // MessageId: NS_E_PDA_FAIL_SELECT_DEVICE
  9485. //
  9486. // MessageText:
  9487. //
  9488. //  Windows Media Player encountered an internal error when selecting a PDA or CD device.%0
  9489. //
  9490.   NS_E_PDA_FAIL_SELECT_DEVICE      = HRESULT($C00D117C);
  9491.   {$EXTERNALSYM NS_E_PDA_FAIL_SELECT_DEVICE}
  9492.  
  9493. //
  9494. // MessageId: NS_E_PDA_FAIL_READ_WAVE_FILE
  9495. //
  9496. // MessageText:
  9497. //
  9498. //  Windows Media Player failed to open or read data from a wave file.%0
  9499. //
  9500.   NS_E_PDA_FAIL_READ_WAVE_FILE     = HRESULT($C00D117D);
  9501.   {$EXTERNALSYM NS_E_PDA_FAIL_READ_WAVE_FILE}
  9502.  
  9503. //
  9504. // MessageId: NS_E_IMAPI_LOSSOFSTREAMING
  9505. //
  9506. // MessageText:
  9507. //
  9508. //  Windows Media Player did not copy all the selected items. The Player has
  9509. //  reduced the recording speed of your CD drive to solve the problem. To copy
  9510. //  all the selected items, insert a blank CD in the drive, and try again.%0
  9511. //
  9512.   NS_E_IMAPI_LOSSOFSTREAMING       = HRESULT($C00D117E);
  9513.   {$EXTERNALSYM NS_E_IMAPI_LOSSOFSTREAMING}
  9514.  
  9515. //
  9516. // MessageId: NS_E_PDA_DEVICE_FULL
  9517. //
  9518. // MessageText:
  9519. //
  9520. //  There is not enough storage space on the portable device to complete this operation. Delete some unneeded files on the portable device, and then try again.%0
  9521. //
  9522.   NS_E_PDA_DEVICE_FULL             = HRESULT($C00D117F);
  9523.   {$EXTERNALSYM NS_E_PDA_DEVICE_FULL}
  9524.  
  9525. //
  9526. // MessageId: NS_E_FAIL_LAUNCH_ROXIO_PLUGIN
  9527. //
  9528. // MessageText:
  9529. //
  9530. //  Windows Media Player cannot copy the files to the CD. Verify that a CD-R or
  9531. //  CD-RW drive is connected to your computer, and then try again. If the problem
  9532. //  continues, reinstall the Player.%0
  9533. //
  9534.   NS_E_FAIL_LAUNCH_ROXIO_PLUGIN    = HRESULT($C00D1180);
  9535.   {$EXTERNALSYM NS_E_FAIL_LAUNCH_ROXIO_PLUGIN}
  9536.  
  9537. //
  9538. // MessageId: NS_E_PDA_DEVICE_FULL_IN_SESSION
  9539. //
  9540. // MessageText:
  9541. //
  9542. //  Windows Media Player failed to copy some files to device because the device is out of space.%0
  9543. //
  9544.   NS_E_PDA_DEVICE_FULL_IN_SESSION  = HRESULT($C00D1181);
  9545.   {$EXTERNALSYM NS_E_PDA_DEVICE_FULL_IN_SESSION}
  9546.  
  9547. //
  9548. // MessageId: NS_E_IMAPI_MEDIUM_INVALIDTYPE
  9549. //
  9550. // MessageText:
  9551. //
  9552. //  The medium in the drive is invalid. Please insert a blank CD-R or a CD-RW into the drive, and then try again.%0
  9553. //
  9554.   NS_E_IMAPI_MEDIUM_INVALIDTYPE    = HRESULT($C00D1182);
  9555.   {$EXTERNALSYM NS_E_IMAPI_MEDIUM_INVALIDTYPE}
  9556.  
  9557. //
  9558. // General Remapped Error codes in WMP
  9559. //
  9560. //
  9561. // MessageId: NS_E_WMP_PROTOCOL_PROBLEM
  9562. //
  9563. // MessageText:
  9564. //
  9565. //  Windows Media Player could not open the specified URL. Be sure Windows Media Player is configured to use all available protocols, and then try again.%0
  9566. //
  9567.   NS_E_WMP_PROTOCOL_PROBLEM        = HRESULT($C00D1194);
  9568.   {$EXTERNALSYM NS_E_WMP_PROTOCOL_PROBLEM}
  9569.  
  9570. //
  9571. // MessageId: NS_E_WMP_NO_DISK_SPACE
  9572. //
  9573. // MessageText:
  9574. //
  9575. //  Windows Media Player cannot open the file because there is not enough disk space on your computer. Delete some unneeded files on your hard disk, and then try again.%0
  9576. //
  9577.   NS_E_WMP_NO_DISK_SPACE           = HRESULT($C00D1195);
  9578.   {$EXTERNALSYM NS_E_WMP_NO_DISK_SPACE}
  9579.  
  9580. //
  9581. // MessageId: NS_E_WMP_LOGON_FAILURE
  9582. //
  9583. // MessageText:
  9584. //
  9585. //  Windows Media Player cannot copy or play the file because the server denied access to it. Verify that you have access rights to the file, and then try again.%0
  9586. //
  9587.   NS_E_WMP_LOGON_FAILURE           = HRESULT($C00D1196);
  9588.   {$EXTERNALSYM NS_E_WMP_LOGON_FAILURE}
  9589.  
  9590. //
  9591. // MessageId: NS_E_WMP_CANNOT_FIND_FILE
  9592. //
  9593. // MessageText:
  9594. //
  9595. //  Windows Media Player cannot find the specified file. Be sure the path is
  9596. //  typed correctly. If it is, the file does not exist at the specified location,
  9597. //  or the computer where the file is stored is offline.%0
  9598. //
  9599.   NS_E_WMP_CANNOT_FIND_FILE        = HRESULT($C00D1197);
  9600.   {$EXTERNALSYM NS_E_WMP_CANNOT_FIND_FILE}
  9601.  
  9602. //
  9603. // MessageId: NS_E_WMP_SERVER_INACCESSIBLE
  9604. //
  9605. // MessageText:
  9606. //
  9607. //  Windows Media Player cannot connect to the server. The server name may be incorrect or the server is busy. Try again later.%0
  9608. //
  9609.   NS_E_WMP_SERVER_INACCESSIBLE     = HRESULT($C00D1198);
  9610.   {$EXTERNALSYM NS_E_WMP_SERVER_INACCESSIBLE}
  9611.  
  9612. //
  9613. // MessageId: NS_E_WMP_UNSUPPORTED_FORMAT
  9614. //
  9615. // MessageText:
  9616. //
  9617. //  Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play.%0
  9618. //
  9619.   NS_E_WMP_UNSUPPORTED_FORMAT      = HRESULT($C00D1199);
  9620.   {$EXTERNALSYM NS_E_WMP_UNSUPPORTED_FORMAT}
  9621.  
  9622. //
  9623. // MessageId: NS_E_WMP_DSHOW_UNSUPPORTED_FORMAT
  9624. //
  9625. // MessageText:
  9626. //
  9627. //  Windows Media Player cannot play the file. The file may be formatted with
  9628. //  an unsupported codec, or the Internet security setting on your computer is
  9629. //  set too high. Lower your browser's security setting, and then try again.%0
  9630. //
  9631.   NS_E_WMP_DSHOW_UNSUPPORTED_FORMAT = HRESULT($C00D119A);
  9632.   {$EXTERNALSYM NS_E_WMP_DSHOW_UNSUPPORTED_FORMAT}
  9633.  
  9634. //
  9635. // MessageId: NS_E_WMP_PLAYLIST_EXISTS
  9636. //
  9637. // MessageText:
  9638. //
  9639. //  Windows Media Player cannot create the playlist because the name already exists. Type a different playlist name.%0
  9640. //
  9641.   NS_E_WMP_PLAYLIST_EXISTS         = HRESULT($C00D119B);
  9642.   {$EXTERNALSYM NS_E_WMP_PLAYLIST_EXISTS}
  9643.  
  9644. //
  9645. // MessageId: NS_E_WMP_NONMEDIA_FILES
  9646. //
  9647. // MessageText:
  9648. //
  9649. //  Windows Media Player could not delete the playlist because it contains
  9650. //  non-digital media files. Any digital media files in the playlist were deleted.
  9651. //  Use Windows Explorer to delete non-digital media files, and then try
  9652. //  deleting the playlist again.%0
  9653. //
  9654.   NS_E_WMP_NONMEDIA_FILES          = HRESULT($C00D119C);
  9655.   {$EXTERNALSYM NS_E_WMP_NONMEDIA_FILES}
  9656.  
  9657. //
  9658. // MessageId: NS_E_WMP_INVALID_ASX
  9659. //
  9660. // MessageText:
  9661. //
  9662. //  Windows Media Player cannot play the file because the associated playlist is not valid.%0
  9663. //
  9664.   NS_E_WMP_INVALID_ASX             = HRESULT($C00D119D);
  9665.   {$EXTERNALSYM NS_E_WMP_INVALID_ASX}
  9666.  
  9667. //
  9668. // MessageId: NS_E_WMP_ALREADY_IN_USE
  9669. //
  9670. // MessageText:
  9671. //
  9672. //  Windows Media Player is already in use. Stop playing any content and close all Player dialog boxes and then try again.%0
  9673. //
  9674.   NS_E_WMP_ALREADY_IN_USE          = HRESULT($C00D119E);
  9675.   {$EXTERNALSYM NS_E_WMP_ALREADY_IN_USE}
  9676.  
  9677. //
  9678. // MessageId: NS_E_WMP_IMAPI_FAILURE
  9679. //
  9680. // MessageText:
  9681. //
  9682. //  Windows Media Player has encountered an unknown error with your recordable disc.%0
  9683. //
  9684.   NS_E_WMP_IMAPI_FAILURE           = HRESULT($C00D119F);
  9685.   {$EXTERNALSYM NS_E_WMP_IMAPI_FAILURE}
  9686.  
  9687. //
  9688. // MessageId: NS_E_WMP_WMDM_FAILURE
  9689. //
  9690. // MessageText:
  9691. //
  9692. //  Windows Media Player has encountered an unknown error with your portable device.  Reconnect your portable device and try again.%0
  9693. //
  9694.   NS_E_WMP_WMDM_FAILURE            = HRESULT($C00D11A0);
  9695.   {$EXTERNALSYM NS_E_WMP_WMDM_FAILURE}
  9696.  
  9697. //
  9698. // MessageId: NS_E_WMP_CODEC_NEEDED_WITH_4CC
  9699. //
  9700. // MessageText:
  9701. //
  9702. //  The %s codec is required to play this file. To determine if this codec is available to download from the Web, click Web Help.%0
  9703. //
  9704.   NS_E_WMP_CODEC_NEEDED_WITH_4CC   = HRESULT($C00D11A1);
  9705.   {$EXTERNALSYM NS_E_WMP_CODEC_NEEDED_WITH_4CC}
  9706.  
  9707. //
  9708. // MessageId: NS_E_WMP_CODEC_NEEDED_WITH_FORMATTAG
  9709. //
  9710. // MessageText:
  9711. //
  9712. //  The audio codec identified by the format tag %s is required to play this file. To determine if this codec is available to download from the Web, click Web Help.%0
  9713. //
  9714.   NS_E_WMP_CODEC_NEEDED_WITH_FORMATTAG = HRESULT($C00D11A2);
  9715.   {$EXTERNALSYM NS_E_WMP_CODEC_NEEDED_WITH_FORMATTAG}
  9716.  
  9717. //
  9718. // MessageId: NS_E_WMP_MSSAP_NOT_AVAILABLE
  9719. //
  9720. // MessageText:
  9721. //
  9722. //  To play this file, you must install the latest Windows XP service pack.  To install the service pack from the Windows Update Web site, click Web Help.%0
  9723. //
  9724.   NS_E_WMP_MSSAP_NOT_AVAILABLE     = HRESULT($C00D11A3);
  9725.   {$EXTERNALSYM NS_E_WMP_MSSAP_NOT_AVAILABLE}
  9726.  
  9727. //
  9728. // MessageId: NS_E_WMP_WMDM_INTERFACEDEAD
  9729. //
  9730. // MessageText:
  9731. //
  9732. //  Windows Media Player no longer detects a portable device. Reconnect your portable device, and try again.%0
  9733. //
  9734.   NS_E_WMP_WMDM_INTERFACEDEAD      = HRESULT($C00D11A4);
  9735.   {$EXTERNALSYM NS_E_WMP_WMDM_INTERFACEDEAD}
  9736.  
  9737. //
  9738. // MessageId: NS_E_WMP_WMDM_NOTCERTIFIED
  9739. //
  9740. // MessageText:
  9741. //
  9742. //  Windows Media Player cannot copy the file because the portable device does not support protected files.%0
  9743. //
  9744.   NS_E_WMP_WMDM_NOTCERTIFIED       = HRESULT($C00D11A5);
  9745.   {$EXTERNALSYM NS_E_WMP_WMDM_NOTCERTIFIED}
  9746.  
  9747. //
  9748. // MessageId: NS_E_WMP_WMDM_LICENSE_NOTEXIST
  9749. //
  9750. // MessageText:
  9751. //
  9752. //  Windows Media Player cannot copy the file because a license for this file
  9753. // could not be found on your computer. If you obtained this file from a Web site,
  9754. // return to the site, and try downloading the file again.%0
  9755. //
  9756.   NS_E_WMP_WMDM_LICENSE_NOTEXIST   = HRESULT($C00D11A6);
  9757.   {$EXTERNALSYM NS_E_WMP_WMDM_LICENSE_NOTEXIST}
  9758.  
  9759. //
  9760. // MessageId: NS_E_WMP_WMDM_LICENSE_EXPIRED
  9761. //
  9762. // MessageText:
  9763. //
  9764. //  Windows Media Player cannot copy the file because the license for this file
  9765. //  has expired. If you obtained this file from a Web site, return to the site,
  9766. //  and try downloading the file again.%0
  9767. //
  9768.   NS_E_WMP_WMDM_LICENSE_EXPIRED    = HRESULT($C00D11A7);
  9769.   {$EXTERNALSYM NS_E_WMP_WMDM_LICENSE_EXPIRED}
  9770.  
  9771. //
  9772. // MessageId: NS_E_WMP_WMDM_BUSY
  9773. //
  9774. // MessageText:
  9775. //
  9776. //  The portable device is already in use. Wait until the current process finishes or quit other programs that may be using the portable device, and then try again.%0
  9777. //
  9778.   NS_E_WMP_WMDM_BUSY               = HRESULT($C00D11A8);
  9779.   {$EXTERNALSYM NS_E_WMP_WMDM_BUSY}
  9780.  
  9781. //
  9782. // MessageId: NS_E_WMP_WMDM_NORIGHTS
  9783. //
  9784. // MessageText:
  9785. //
  9786. //  Windows Media Player cannot copy the file because the license or device restricts it.%0
  9787. //
  9788.   NS_E_WMP_WMDM_NORIGHTS           = HRESULT($C00D11A9);
  9789.   {$EXTERNALSYM NS_E_WMP_WMDM_NORIGHTS}
  9790.  
  9791. //
  9792. // MessageId: NS_E_WMP_WMDM_INCORRECT_RIGHTS
  9793. //
  9794. // MessageText:
  9795. //
  9796. //  Windows Media Player cannot copy the file because the license associated with the file restricts it.%0
  9797. //
  9798.   NS_E_WMP_WMDM_INCORRECT_RIGHTS   = HRESULT($C00D11AA);
  9799.   {$EXTERNALSYM NS_E_WMP_WMDM_INCORRECT_RIGHTS}
  9800.  
  9801. //
  9802. // MessageId: NS_E_WMP_IMAPI_GENERIC
  9803. //
  9804. // MessageText:
  9805. //
  9806. //  Windows Media Player cannot copy files to the recordable disc.%0
  9807. //
  9808.   NS_E_WMP_IMAPI_GENERIC           = HRESULT($C00D11AB);
  9809.   {$EXTERNALSYM NS_E_WMP_IMAPI_GENERIC}
  9810.  
  9811. //
  9812. // MessageId: NS_E_WMP_IMAPI_DEVICE_NOTPRESENT
  9813. //
  9814. // MessageText:
  9815. //
  9816. //  Windows Media Player cannot copy files to the recordable disc. Verify that the CD-R or CD-RW drive is connected, and then try again.%0
  9817. //
  9818.   NS_E_WMP_IMAPI_DEVICE_NOTPRESENT = HRESULT($C00D11AD);
  9819.   {$EXTERNALSYM NS_E_WMP_IMAPI_DEVICE_NOTPRESENT}
  9820.  
  9821. //
  9822. // MessageId: NS_E_WMP_IMAPI_STASHINUSE
  9823. //
  9824. // MessageText:
  9825. //
  9826. //  The CD-R or CD-RW drive may already be in use. Wait until the current process finishes or quit other programs that may be using the CD-R or CD-RW drive, and then try again.%0
  9827. //
  9828.   NS_E_WMP_IMAPI_STASHINUSE        = HRESULT($C00D11AE);
  9829.   {$EXTERNALSYM NS_E_WMP_IMAPI_STASHINUSE}
  9830.  
  9831. //
  9832. // MessageId: NS_E_WMP_IMAPI_LOSS_OF_STREAMING
  9833. //
  9834. // MessageText:
  9835. //
  9836. //  Windows Media Player cannot copy files to the recordable disc.%0
  9837. //
  9838.   NS_E_WMP_IMAPI_LOSS_OF_STREAMING = HRESULT($C00D11AF);
  9839.   {$EXTERNALSYM NS_E_WMP_IMAPI_LOSS_OF_STREAMING}
  9840.  
  9841. //
  9842. // MessageId: NS_E_WMP_SERVER_UNAVAILABLE
  9843. //
  9844. // MessageText:
  9845. //
  9846. //  Windows Media Player cannot play the file because the server is busy. Try again later.%0
  9847. //
  9848.   NS_E_WMP_SERVER_UNAVAILABLE      = HRESULT($C00D11B0);
  9849.   {$EXTERNALSYM NS_E_WMP_SERVER_UNAVAILABLE}
  9850.  
  9851. //
  9852. // MessageId: NS_E_WMP_FILE_OPEN_FAILED
  9853. //
  9854. // MessageText:
  9855. //
  9856. //  Windows Media Player cannot open the file.%0
  9857. //
  9858.   NS_E_WMP_FILE_OPEN_FAILED        = HRESULT($C00D11B1);
  9859.   {$EXTERNALSYM NS_E_WMP_FILE_OPEN_FAILED}
  9860.  
  9861. //
  9862. // MessageId: NS_E_WMP_VERIFY_ONLINE
  9863. //
  9864. // MessageText:
  9865. //
  9866. //  To play the file, Windows Media Player must obtain a license from the Internet. Connect to the Internet, and then try again.%0
  9867. //
  9868.   NS_E_WMP_VERIFY_ONLINE           = HRESULT($C00D11B2);
  9869.   {$EXTERNALSYM NS_E_WMP_VERIFY_ONLINE}
  9870.  
  9871. //
  9872. // MessageId: NS_E_WMP_SERVER_NOT_RESPONDING
  9873. //
  9874. // MessageText:
  9875. //
  9876. // Windows Media Player cannot play the file because the server is not responding.
  9877. // If you entered a URL or path to play the file, verify that it is correct. If you
  9878. // clicked a link to play the file, the link may not be valid.%0
  9879. //
  9880.   NS_E_WMP_SERVER_NOT_RESPONDING   = HRESULT($C00D11B3);
  9881.   {$EXTERNALSYM NS_E_WMP_SERVER_NOT_RESPONDING}
  9882.  
  9883. //
  9884. // MessageId: NS_E_WMP_DRM_CORRUPT_BACKUP
  9885. //
  9886. // MessageText:
  9887. //
  9888. //  Windows Media Player cannot restore your licenses because no backed up licenses were found on your computer.%0
  9889. //
  9890.   NS_E_WMP_DRM_CORRUPT_BACKUP      = HRESULT($C00D11B4);
  9891.   {$EXTERNALSYM NS_E_WMP_DRM_CORRUPT_BACKUP}
  9892.  
  9893. //
  9894. // MessageId: NS_E_WMP_DRM_LICENSE_SERVER_UNAVAILABLE
  9895. //
  9896. // MessageText:
  9897. //
  9898. //  To play the file, Windows Media Player must obtain a license from the Internet. However, the license server is currently not available. Try again later.%0
  9899. //
  9900.   NS_E_WMP_DRM_LICENSE_SERVER_UNAVAILABLE = HRESULT($C00D11B5);
  9901.   {$EXTERNALSYM NS_E_WMP_DRM_LICENSE_SERVER_UNAVAILABLE}
  9902.  
  9903. //
  9904. // MessageId: NS_E_WMP_NETWORK_FIREWALL
  9905. //
  9906. // MessageText:
  9907. //
  9908. //  Windows Media Player cannot play the file. A network firewall may be preventing
  9909. //  the Player from opening the file by using the UDP transport protocol. To play
  9910. //  this file, try opening the file without specifying UDP.%0
  9911. //
  9912.   NS_E_WMP_NETWORK_FIREWALL        = HRESULT($C00D11B6);
  9913.   {$EXTERNALSYM NS_E_WMP_NETWORK_FIREWALL}
  9914.  
  9915. //
  9916. // MessageId: NS_E_WMP_NO_REMOVABLE_MEDIA
  9917. //
  9918. // MessageText:
  9919. //
  9920. //  Insert the removable media, and then try again.%0
  9921. //
  9922.   NS_E_WMP_NO_REMOVABLE_MEDIA      = HRESULT($C00D11B7);
  9923.   {$EXTERNALSYM NS_E_WMP_NO_REMOVABLE_MEDIA}
  9924.  
  9925. //
  9926. // MessageId: NS_E_WMP_PROXY_CONNECT_TIMEOUT
  9927. //
  9928. // MessageText:
  9929. //
  9930. //  Windows Media Player cannot play the file because the proxy server is not
  9931. //  responding. The proxy server may be temporarily unavailable or your Player
  9932. //  proxy settings may not be valid.%0
  9933. //
  9934.   NS_E_WMP_PROXY_CONNECT_TIMEOUT   = HRESULT($C00D11B8);
  9935.   {$EXTERNALSYM NS_E_WMP_PROXY_CONNECT_TIMEOUT}
  9936.  
  9937. //
  9938. // MessageId: NS_E_WMP_NEED_UPGRADE
  9939. //
  9940. // MessageText:
  9941. //
  9942. //  To play this file, you must upgrade to the latest version of Windows Media Player.
  9943. //  To upgrade the Player, on the Help menu, click Check For Player Updates, and then
  9944. //  follow the instructions.%0
  9945. //
  9946.   NS_E_WMP_NEED_UPGRADE            = HRESULT($C00D11B9);
  9947.   {$EXTERNALSYM NS_E_WMP_NEED_UPGRADE}
  9948.  
  9949. //
  9950. // MessageId: NS_E_WMP_AUDIO_HW_PROBLEM
  9951. //
  9952. // MessageText:
  9953. //
  9954. //  Windows Media Player cannot play the file because there is a problem with your
  9955. //  sound device. There may not be a sound device installed on your computer, it may
  9956. //  be in use by another program, or it may not be functioning properly.%0
  9957. //
  9958.   NS_E_WMP_AUDIO_HW_PROBLEM        = HRESULT($C00D11BA);
  9959.   {$EXTERNALSYM NS_E_WMP_AUDIO_HW_PROBLEM}
  9960.  
  9961. //
  9962. // MessageId: NS_E_WMP_INVALID_PROTOCOL
  9963. //
  9964. // MessageText:
  9965. //
  9966. //  Windows Media Player cannot play the file because the specified protocol is not
  9967. //  supported. In the Open URL dialog, try opening the file using a different transport
  9968. //  protocol (for example, "http:" or "rtsp:").%0
  9969. //
  9970.   NS_E_WMP_INVALID_PROTOCOL        = HRESULT($C00D11BB);
  9971.   {$EXTERNALSYM NS_E_WMP_INVALID_PROTOCOL}
  9972.  
  9973. //
  9974. // MessageId: NS_E_WMP_INVALID_LIBRARY_ADD
  9975. //
  9976. // MessageText:
  9977. //
  9978. //  Windows Media Player cannot add the file to Media Library because the file format is not supported.%0
  9979. //
  9980.   NS_E_WMP_INVALID_LIBRARY_ADD     = HRESULT($C00D11BC);
  9981.   {$EXTERNALSYM NS_E_WMP_INVALID_LIBRARY_ADD}
  9982.  
  9983. //
  9984. // MessageId: NS_E_WMP_MMS_NOT_SUPPORTED
  9985. //
  9986. // MessageText:
  9987. //
  9988. //  Windows Media Player cannot play the file because the specified protocol is not
  9989. //  supported. In the Open URL dialog, try opening the file using a different transport
  9990. //  protocol (for example, "mms:").%0
  9991. //
  9992.   NS_E_WMP_MMS_NOT_SUPPORTED       = HRESULT($C00D11BD);
  9993.   {$EXTERNALSYM NS_E_WMP_MMS_NOT_SUPPORTED}
  9994.  
  9995. //
  9996. // MessageId: NS_E_WMP_NO_PROTOCOLS_SELECTED
  9997. //
  9998. // MessageText:
  9999. //
  10000. //  Windows Media Player cannot play the file because there are no streaming protocols selected. Select one or more protocols, and then try again.%0
  10001. //
  10002.   NS_E_WMP_NO_PROTOCOLS_SELECTED   = HRESULT($C00D11BE);
  10003.   {$EXTERNALSYM NS_E_WMP_NO_PROTOCOLS_SELECTED}
  10004.  
  10005. //
  10006. // MessageId: NS_E_WMP_GOFULLSCREEN_FAILED
  10007. //
  10008. // MessageText:
  10009. //
  10010. //  To use the Full Screen command, you may need to adjust your Windows display settings. Open Display in Control Panel, and try setting Hardware acceleration to Full.%0
  10011. //
  10012.   NS_E_WMP_GOFULLSCREEN_FAILED     = HRESULT($C00D11BF);
  10013.   {$EXTERNALSYM NS_E_WMP_GOFULLSCREEN_FAILED}
  10014.  
  10015. //
  10016. // MessageId: NS_E_WMP_NETWORK_ERROR
  10017. //
  10018. // MessageText:
  10019. //
  10020. //  Windows Media Player cannot play the file because a network error occurred.%0
  10021. //
  10022.   NS_E_WMP_NETWORK_ERROR           = HRESULT($C00D11C0);
  10023.   {$EXTERNALSYM NS_E_WMP_NETWORK_ERROR}
  10024.  
  10025. //
  10026. // MessageId: NS_E_WMP_CONNECT_TIMEOUT
  10027. //
  10028. // MessageText:
  10029. //
  10030. //  Windows Media Player cannot play the file because the server is not responding. Verify that you are connected to the network, and then try again later.%0
  10031. //
  10032.   NS_E_WMP_CONNECT_TIMEOUT         = HRESULT($C00D11C1);
  10033.   {$EXTERNALSYM NS_E_WMP_CONNECT_TIMEOUT}
  10034.  
  10035. //
  10036. // MessageId: NS_E_WMP_MULTICAST_DISABLED
  10037. //
  10038. // MessageText:
  10039. //
  10040. //  Windows Media Player cannot play the file because the multicast protocol is
  10041. //  not enabled. On the Tools menu, click Options, click the Network tab, and then
  10042. //  select the Multicast check box.%0
  10043. //
  10044.   NS_E_WMP_MULTICAST_DISABLED      = HRESULT($C00D11C2);
  10045.   {$EXTERNALSYM NS_E_WMP_MULTICAST_DISABLED}
  10046.  
  10047. //
  10048. // MessageId: NS_E_WMP_SERVER_DNS_TIMEOUT
  10049. //
  10050. // MessageText:
  10051. //
  10052. //  Windows Media Player cannot play the file because a network problem occurred. Verify that you are connected to the network, and then try again later.%0
  10053. //
  10054.   NS_E_WMP_SERVER_DNS_TIMEOUT      = HRESULT($C00D11C3);
  10055.   {$EXTERNALSYM NS_E_WMP_SERVER_DNS_TIMEOUT}
  10056.  
  10057. //
  10058. // MessageId: NS_E_WMP_PROXY_NOT_FOUND
  10059. //
  10060. // MessageText:
  10061. //
  10062. //  Windows Media Player cannot play the file because the network proxy server could not be found. Verify your proxy settings, and then try again.%0
  10063. //
  10064.   NS_E_WMP_PROXY_NOT_FOUND         = HRESULT($C00D11C4);
  10065.   {$EXTERNALSYM NS_E_WMP_PROXY_NOT_FOUND}
  10066.  
  10067. //
  10068. // MessageId: NS_E_WMP_TAMPERED_CONTENT
  10069. //
  10070. // MessageText:
  10071. //
  10072. //  Windows Media Player cannot play the file because it is damaged or corrupted.%0
  10073. //
  10074.   NS_E_WMP_TAMPERED_CONTENT        = HRESULT($C00D11C5);
  10075.   {$EXTERNALSYM NS_E_WMP_TAMPERED_CONTENT}
  10076.  
  10077. //
  10078. // MessageId: NS_E_WMP_OUTOFMEMORY
  10079. //
  10080. // MessageText:
  10081. //
  10082. //  Your computer is running low on memory. Quit other programs, and then try again.%0
  10083. //
  10084.   NS_E_WMP_OUTOFMEMORY             = HRESULT($C00D11C6);
  10085.   {$EXTERNALSYM NS_E_WMP_OUTOFMEMORY}
  10086.  
  10087. //
  10088. // MessageId: NS_E_WMP_AUDIO_CODEC_NOT_INSTALLED
  10089. //
  10090. // MessageText:
  10091. //
  10092. //  Windows Media Player cannot play the file because the required audio codec is not installed on your computer.%0
  10093. //
  10094.   NS_E_WMP_AUDIO_CODEC_NOT_INSTALLED = HRESULT($C00D11C7);
  10095.   {$EXTERNALSYM NS_E_WMP_AUDIO_CODEC_NOT_INSTALLED}
  10096.  
  10097. //
  10098. // MessageId: NS_E_WMP_VIDEO_CODEC_NOT_INSTALLED
  10099. //
  10100. // MessageText:
  10101. //
  10102. //  Windows Media Player cannot play the file because the required video codec is not installed on your computer.%0
  10103. //
  10104.   NS_E_WMP_VIDEO_CODEC_NOT_INSTALLED = HRESULT($C00D11C8);
  10105.   {$EXTERNALSYM NS_E_WMP_VIDEO_CODEC_NOT_INSTALLED}
  10106.  
  10107. //
  10108. // MessageId: NS_E_WMP_IMAPI_DEVICE_INVALIDTYPE
  10109. //
  10110. // MessageText:
  10111. //
  10112. //  Windows Media Player cannot copy the files to the recordable disc.%0
  10113. //
  10114.   NS_E_WMP_IMAPI_DEVICE_INVALIDTYPE = HRESULT($C00D11C9);
  10115.   {$EXTERNALSYM NS_E_WMP_IMAPI_DEVICE_INVALIDTYPE}
  10116.  
  10117. //
  10118. // MessageId: NS_E_WMP_DRM_DRIVER_AUTH_FAILURE
  10119. //
  10120. // MessageText:
  10121. //
  10122. //  Windows Media Player cannot play the licensed file because there is a problem with your sound device. Try installing a new device driver or use a different sound device.%0
  10123. //
  10124.   NS_E_WMP_DRM_DRIVER_AUTH_FAILURE = HRESULT($C00D11CA);
  10125.   {$EXTERNALSYM NS_E_WMP_DRM_DRIVER_AUTH_FAILURE}
  10126.  
  10127. //
  10128. // MessageId: NS_E_WMP_NETWORK_RESOURCE_FAILURE
  10129. //
  10130. // MessageText:
  10131. //
  10132. //  Windows Media Player encountered a network problem. Restart the Player.%0
  10133. //
  10134.   NS_E_WMP_NETWORK_RESOURCE_FAILURE = HRESULT($C00D11CB);
  10135.   {$EXTERNALSYM NS_E_WMP_NETWORK_RESOURCE_FAILURE}
  10136.  
  10137. //
  10138. // MessageId: NS_E_WMP_UPGRADE_APPLICATION
  10139. //
  10140. // MessageText:
  10141. //
  10142. //  Windows Media Player is not installed properly. Reinstall the Player.%0
  10143. //
  10144.   NS_E_WMP_UPGRADE_APPLICATION     = HRESULT($C00D11CC);
  10145.   {$EXTERNALSYM NS_E_WMP_UPGRADE_APPLICATION}
  10146.  
  10147. //
  10148. // MessageId: NS_E_WMP_UNKNOWN_ERROR
  10149. //
  10150. // MessageText:
  10151. //
  10152. //  Windows Media Player encountered an unknown error.%0
  10153. //
  10154.   NS_E_WMP_UNKNOWN_ERROR           = HRESULT($C00D11CD);
  10155.   {$EXTERNALSYM NS_E_WMP_UNKNOWN_ERROR}
  10156.  
  10157. //
  10158. // MessageId: NS_E_WMP_INVALID_KEY
  10159. //
  10160. // MessageText:
  10161. //
  10162. //  Windows Media Player cannot play the file because the required codec is not valid.%0
  10163. //
  10164.   NS_E_WMP_INVALID_KEY             = HRESULT($C00D11CE);
  10165.   {$EXTERNALSYM NS_E_WMP_INVALID_KEY}
  10166.  
  10167. //
  10168. // MessageId: NS_E_WMP_CD_ANOTHER_USER
  10169. //
  10170. // MessageText:
  10171. //
  10172. //  The CD drive is in use by another user. Wait for the operation to complete, and then try again.%0
  10173. //
  10174.   NS_E_WMP_CD_ANOTHER_USER         = HRESULT($C00D11CF);
  10175.   {$EXTERNALSYM NS_E_WMP_CD_ANOTHER_USER}
  10176.  
  10177. //
  10178. // MessageId: NS_E_WMP_DRM_NEEDS_AUTHORIZATION
  10179. //
  10180. // MessageText:
  10181. //
  10182. //  Windows Media Player cannot play the licensed file because the required security upgrade is not available for download.%0
  10183. //
  10184.   NS_E_WMP_DRM_NEEDS_AUTHORIZATION = HRESULT($C00D11D0);
  10185.   {$EXTERNALSYM NS_E_WMP_DRM_NEEDS_AUTHORIZATION}
  10186.  
  10187. //
  10188. // MessageId: NS_E_WMP_BAD_DRIVER
  10189. //
  10190. // MessageText:
  10191. //
  10192. //  Windows Media Player cannot play the file because there may be a problem with your sound or video device. Try installing a new device driver.%0
  10193. //
  10194.   NS_E_WMP_BAD_DRIVER              = HRESULT($C00D11D1);
  10195.   {$EXTERNALSYM NS_E_WMP_BAD_DRIVER}
  10196.  
  10197. //
  10198. // MessageId: NS_E_WMP_ACCESS_DENIED
  10199. //
  10200. // MessageText:
  10201. //
  10202. //  Windows Media Player cannot access the file.%0
  10203. //
  10204.   NS_E_WMP_ACCESS_DENIED           = HRESULT($C00D11D2);
  10205.   {$EXTERNALSYM NS_E_WMP_ACCESS_DENIED}
  10206.  
  10207. //
  10208. // MessageId: NS_E_WMP_LICENSE_RESTRICTS
  10209. //
  10210. // MessageText:
  10211. //
  10212. //  Windows Media Player cannot copy the file to the device because the license restricts it.%0
  10213. //
  10214.   NS_E_WMP_LICENSE_RESTRICTS       = HRESULT($C00D11D3);
  10215.   {$EXTERNALSYM NS_E_WMP_LICENSE_RESTRICTS}
  10216.  
  10217. //
  10218. // MessageId: NS_E_WMP_INVALID_REQUEST
  10219. //
  10220. // MessageText:
  10221. //
  10222. //  Windows Media Player cannot perform the requested action at this time.%0
  10223. //
  10224.   NS_E_WMP_INVALID_REQUEST         = HRESULT($C00D11D4);
  10225.   {$EXTERNALSYM NS_E_WMP_INVALID_REQUEST}
  10226.  
  10227. //
  10228. // MessageId: NS_E_WMP_CD_STASH_NO_SPACE
  10229. //
  10230. // MessageText:
  10231. //
  10232. //  Windows Media Player cannot copy the files because there is not enough free
  10233. //  disk space to store the temporary files. Delete some unneeded files on your hard
  10234. //  disk, and then try again.%0
  10235. //
  10236.   NS_E_WMP_CD_STASH_NO_SPACE       = HRESULT($C00D11D5);
  10237.   {$EXTERNALSYM NS_E_WMP_CD_STASH_NO_SPACE}
  10238.  
  10239. //
  10240. // MessageId: NS_E_WMP_DRM_NEW_HARDWARE
  10241. //
  10242. // MessageText:
  10243. //
  10244. //  Windows Media Player cannot play the file because the associated license is
  10245. //  either corrupted or not valid. The license may no longer be valid if you have
  10246. //  replaced hardware components in your computer.%0
  10247. //
  10248.   NS_E_WMP_DRM_NEW_HARDWARE        = HRESULT($C00D11D6);
  10249.   {$EXTERNALSYM NS_E_WMP_DRM_NEW_HARDWARE}
  10250.  
  10251. //
  10252. // MessageId: NS_E_WMP_DRM_INVALID_SIG
  10253. //
  10254. // MessageText:
  10255. //
  10256. //  The required security upgrade cannot be validated. Try installing the latest
  10257. //  Internet Explorer service pack. To install the service pack from the Windows
  10258. //  Update Web site, click Web Help.%0
  10259. //
  10260.   NS_E_WMP_DRM_INVALID_SIG         = HRESULT($C00D11D7);
  10261.   {$EXTERNALSYM NS_E_WMP_DRM_INVALID_SIG}
  10262.  
  10263. //
  10264. // MessageId: NS_E_WMP_DRM_CANNOT_RESTORE
  10265. //
  10266. // MessageText:
  10267. //
  10268. //  Windows Media Player cannot restore your licenses because you have exceeded the restore limit for the day. Try again tomorrow.%0
  10269. //
  10270.   NS_E_WMP_DRM_CANNOT_RESTORE      = HRESULT($C00D11D8);
  10271.   {$EXTERNALSYM NS_E_WMP_DRM_CANNOT_RESTORE}
  10272.  
  10273. //
  10274. // WMP CD Filter Error codes extension
  10275. //
  10276. //
  10277. // MessageId: NS_E_CD_NO_BUFFERS_READ
  10278. //
  10279. // MessageText:
  10280. //
  10281. //  Windows Media Player encountered an error when reading the CD-ROM drive in digital mode.
  10282. //  You can try to use digital mode again, or you can switch the Player to analog  mode.%0
  10283. //
  10284.   NS_E_CD_NO_BUFFERS_READ          = HRESULT($C00D11F8);
  10285.   {$EXTERNALSYM NS_E_CD_NO_BUFFERS_READ}
  10286.  
  10287. //
  10288. // MessageId: NS_E_CD_EMPTY_TRACK_QUEUE
  10289. //
  10290. // MessageText:
  10291. //
  10292. //  No CD track was specified for playback.%0
  10293. //
  10294.   NS_E_CD_EMPTY_TRACK_QUEUE        = HRESULT($C00D11F9);
  10295.   {$EXTERNALSYM NS_E_CD_EMPTY_TRACK_QUEUE}
  10296.  
  10297. //
  10298. // MessageId: NS_E_CD_NO_READER
  10299. //
  10300. // MessageText:
  10301. //
  10302. //  The CD filter was not able to create the CD reader.%0
  10303. //
  10304.   NS_E_CD_NO_READER                = HRESULT($C00D11FA);
  10305.   {$EXTERNALSYM NS_E_CD_NO_READER}
  10306.  
  10307. //
  10308. // MessageId: NS_E_CD_ISRC_INVALID
  10309. //
  10310. // MessageText:
  10311. //
  10312. //  Invalid ISRC code.%0
  10313. //
  10314.   NS_E_CD_ISRC_INVALID             = HRESULT($C00D11FB);
  10315.   {$EXTERNALSYM NS_E_CD_ISRC_INVALID}
  10316.  
  10317. //
  10318. // MessageId: NS_E_CD_MEDIA_CATALOG_NUMBER_INVALID
  10319. //
  10320. // MessageText:
  10321. //
  10322. //  Invalid Media Catalog Number.%0
  10323. //
  10324.   NS_E_CD_MEDIA_CATALOG_NUMBER_INVALID = HRESULT($C00D11FC);
  10325.   {$EXTERNALSYM NS_E_CD_MEDIA_CATALOG_NUMBER_INVALID}
  10326.  
  10327. //
  10328. // MessageId: NS_E_SLOW_READ_DIGITAL_WITH_ERRORCORRECTION
  10329. //
  10330. // MessageText:
  10331. //
  10332. //  Media Player has detected that your CD drive cannot play back audio CDs
  10333. //  correctly because the drive is too slow with error correction turned on. Please
  10334. //  turn off error correction for this drive.%0
  10335. //
  10336.   NS_E_SLOW_READ_DIGITAL_WITH_ERRORCORRECTION = HRESULT($C00D11FD);
  10337.   {$EXTERNALSYM NS_E_SLOW_READ_DIGITAL_WITH_ERRORCORRECTION}
  10338.  
  10339. //
  10340. // MessageId: NS_E_CD_SPEEDDETECT_NOT_ENOUGH_READS
  10341. //
  10342. // MessageText:
  10343. //
  10344. //  The CD track is too small to make a good estimate of the CD's speed.%0
  10345. //
  10346.   NS_E_CD_SPEEDDETECT_NOT_ENOUGH_READS = HRESULT($C00D11FE);
  10347.   {$EXTERNALSYM NS_E_CD_SPEEDDETECT_NOT_ENOUGH_READS}
  10348.  
  10349. //
  10350. // MessageId: NS_E_CD_QUEUEING_DISABLED
  10351. //
  10352. // MessageText:
  10353. //
  10354. //  Cannot queue the given CD track as queuing is disabled.%0
  10355. //
  10356.   NS_E_CD_QUEUEING_DISABLED        = HRESULT($C00D11FF);
  10357.   {$EXTERNALSYM NS_E_CD_QUEUEING_DISABLED}
  10358.  
  10359. //
  10360. // WMP Policy error codes
  10361. //
  10362. //
  10363. // MessageId: NS_E_WMP_POLICY_VALUE_NOT_CONFIGURED
  10364. //
  10365. // MessageText:
  10366. //
  10367. //  Media Player failed to read a policy. This can happen when the policy is not present in the registry or when there is a failure to read from the registry.%0
  10368. //
  10369.   NS_E_WMP_POLICY_VALUE_NOT_CONFIGURED = HRESULT($C00D122A);
  10370.   {$EXTERNALSYM NS_E_WMP_POLICY_VALUE_NOT_CONFIGURED}
  10371.  
  10372. //
  10373. //Background download plugin
  10374. //
  10375. //
  10376. // MessageId: NS_E_WMP_HWND_NOTFOUND
  10377. //
  10378. // MessageText:
  10379. //
  10380. //  Windows Media Player main window not found. The download manager needs to find it to work properly. Please try to run Windows Media Player again.%0
  10381. //
  10382.   NS_E_WMP_HWND_NOTFOUND           = HRESULT($C00D125C);
  10383.   {$EXTERNALSYM NS_E_WMP_HWND_NOTFOUND}
  10384.  
  10385. //
  10386. // MessageId: NS_E_BKGDOWNLOAD_WRONG_NO_FILES
  10387. //
  10388. // MessageText:
  10389. //
  10390. //  Windows media player encountered a download with wrong number of files.
  10391. //  This may happen if some other application is trying to create jobs with same
  10392. //  signature as Windows Media Player.%0
  10393. //
  10394.   NS_E_BKGDOWNLOAD_WRONG_NO_FILES  = HRESULT($C00D125D);
  10395.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_WRONG_NO_FILES}
  10396.  
  10397. //
  10398. // MessageId: NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB
  10399. //
  10400. // MessageText:
  10401. //
  10402. //  Windows Media Player tried to complete a download that was already cancelled. The file will not be available.%0
  10403. //
  10404.   NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB = HRESULT($C00D125E);
  10405.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB}
  10406.  
  10407. //
  10408. // MessageId: NS_E_BKGDOWNLOAD_CANCELCOMPLETEDJOB
  10409. //
  10410. // MessageText:
  10411. //
  10412. //  Windows Media Player tried to cancel a download that was already completed. The file will not be removed.%0
  10413. //
  10414.   NS_E_BKGDOWNLOAD_CANCELCOMPLETEDJOB = HRESULT($C00D125F);
  10415.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_CANCELCOMPLETEDJOB}
  10416.  
  10417. //
  10418. // MessageId: NS_E_BKGDOWNLOAD_NOJOBPOINTER
  10419. //
  10420. // MessageText:
  10421. //
  10422. //  Windows Media Player is trying to access an invalid download.%0
  10423. //
  10424.   NS_E_BKGDOWNLOAD_NOJOBPOINTER    = HRESULT($C00D1260);
  10425.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_NOJOBPOINTER}
  10426.  
  10427. //
  10428. // MessageId: NS_E_BKGDOWNLOAD_INVALIDJOBSIGNATURE
  10429. //
  10430. // MessageText:
  10431. //
  10432. //  This download was not created by Windows Media Player.%0
  10433. //
  10434.   NS_E_BKGDOWNLOAD_INVALIDJOBSIGNATURE = HRESULT($C00D1261);
  10435.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_INVALIDJOBSIGNATURE}
  10436.  
  10437. //
  10438. // MessageId: NS_E_BKGDOWNLOAD_FAILED_TO_CREATE_TEMPFILE
  10439. //
  10440. // MessageText:
  10441. //
  10442. //  The Windows Media Player download manager failed to create a temporary file name.
  10443. //  This may happen if the path in invalid or if the disk is full. Please check
  10444. //  your system and try again.%0
  10445. //
  10446.   NS_E_BKGDOWNLOAD_FAILED_TO_CREATE_TEMPFILE = HRESULT($C00D1262);
  10447.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_FAILED_TO_CREATE_TEMPFILE}
  10448.  
  10449. //
  10450. // MessageId: NS_E_BKGDOWNLOAD_PLUGIN_FAILEDINITIALIZE
  10451. //
  10452. // MessageText:
  10453. //
  10454. //  The Windows Media Player download manager plugin failed to initialize. This may happen if the system is out of resources. Please check your system and try again.%0
  10455. //
  10456.   NS_E_BKGDOWNLOAD_PLUGIN_FAILEDINITIALIZE = HRESULT($C00D1263);
  10457.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_PLUGIN_FAILEDINITIALIZE}
  10458.  
  10459. //
  10460. // MessageId: NS_E_BKGDOWNLOAD_PLUGIN_FAILEDTOMOVEFILE
  10461. //
  10462. // MessageText:
  10463. //
  10464. //  The Windows Media Player download manager failed to move the file.%0
  10465. //
  10466.   NS_E_BKGDOWNLOAD_PLUGIN_FAILEDTOMOVEFILE = HRESULT($C00D1264);
  10467.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_PLUGIN_FAILEDTOMOVEFILE}
  10468.  
  10469. //
  10470. // MessageId: NS_E_BKGDOWNLOAD_CALLFUNCFAILED
  10471. //
  10472. // MessageText:
  10473. //
  10474. //  Download manager failed to accomplish a task. This happened because the system has no resources to allocate.%0
  10475. //
  10476.   NS_E_BKGDOWNLOAD_CALLFUNCFAILED  = HRESULT($C00D1265);
  10477.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_CALLFUNCFAILED}
  10478.  
  10479. //
  10480. // MessageId: NS_E_BKGDOWNLOAD_CALLFUNCTIMEOUT
  10481. //
  10482. // MessageText:
  10483. //
  10484. //  The Windows Media Player download manager failed to accomplish a task because the task took too long to execute.%0
  10485. //
  10486.   NS_E_BKGDOWNLOAD_CALLFUNCTIMEOUT = HRESULT($C00D1266);
  10487.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_CALLFUNCTIMEOUT}
  10488.  
  10489. //
  10490. // MessageId: NS_E_BKGDOWNLOAD_CALLFUNCENDED
  10491. //
  10492. // MessageText:
  10493. //
  10494. //  The Windows Media Player download manager failed to accomplish a task because
  10495. //  Windows Media Player is terminating the service. The task will be recovered when
  10496. //  Windows Media Player starts again.%0
  10497. //
  10498.   NS_E_BKGDOWNLOAD_CALLFUNCENDED   = HRESULT($C00D1267);
  10499.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_CALLFUNCENDED}
  10500.  
  10501. //
  10502. // MessageId: NS_E_BKGDOWNLOAD_WMDUNPACKFAILED
  10503. //
  10504. // MessageText:
  10505. //
  10506. //  The Windows Media Player download manager failed to unpack a WMD package that
  10507. //  was transferred. The file will be deleted and the operation will not be
  10508. //  successfully completed.%0
  10509. //
  10510.   NS_E_BKGDOWNLOAD_WMDUNPACKFAILED = HRESULT($C00D1268);
  10511.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_WMDUNPACKFAILED}
  10512.  
  10513. //
  10514. // MessageId: NS_E_BKGDOWNLOAD_FAILEDINITIALIZE
  10515. //
  10516. // MessageText:
  10517. //
  10518. //  The Windows Media Player download manager failed to initialize. This may happen if the system is out of resources. Please check your system and try again.%0
  10519. //
  10520.   NS_E_BKGDOWNLOAD_FAILEDINITIALIZE = HRESULT($C00D1269);
  10521.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_FAILEDINITIALIZE}
  10522.  
  10523. //
  10524. // MessageId: NS_E_INTERFACE_NOT_REGISTERED_IN_GIT
  10525. //
  10526. // MessageText:
  10527. //
  10528. //  Windows Media Player failed to access a required functionality. This could be caused by wrong system or media player dlls being loaded.%0
  10529. //
  10530.   NS_E_INTERFACE_NOT_REGISTERED_IN_GIT = HRESULT($C00D126A);
  10531.   {$EXTERNALSYM NS_E_INTERFACE_NOT_REGISTERED_IN_GIT}
  10532.  
  10533. //
  10534. // MessageId: NS_E_BKGDOWNLOAD_INVALID_FILE_NAME
  10535. //
  10536. // MessageText:
  10537. //
  10538. //  Windows Media Player failed to get the file name of the requested download. The requested download will be canceled.%0
  10539. //
  10540.   NS_E_BKGDOWNLOAD_INVALID_FILE_NAME = HRESULT($C00D126B);
  10541.   {$EXTERNALSYM NS_E_BKGDOWNLOAD_INVALID_FILE_NAME}
  10542.  
  10543. //
  10544. //Image Graph Errors 4750 -- 4800
  10545. //
  10546. //
  10547. // MessageId: NS_E_IMAGE_DOWNLOAD_FAILED
  10548. //
  10549. // MessageText:
  10550. //
  10551. //  An error was encountered downloading the image.%0
  10552. //
  10553.   NS_E_IMAGE_DOWNLOAD_FAILED       = HRESULT($C00D128E);
  10554.   {$EXTERNALSYM NS_E_IMAGE_DOWNLOAD_FAILED}
  10555.  
  10556. //
  10557. // UDRM errors
  10558. //
  10559. //
  10560. // MessageId: NS_E_WMP_UDRM_NOUSERLIST
  10561. //
  10562. // MessageText:
  10563. //
  10564. //  There was a problem while trying to get the list of activated users for this machine. The License acquisition process will be stopped.%0
  10565. //
  10566.   NS_E_WMP_UDRM_NOUSERLIST         = HRESULT($C00D12C0);
  10567.   {$EXTERNALSYM NS_E_WMP_UDRM_NOUSERLIST}
  10568.  
  10569. //
  10570. // MessageId: NS_E_WMP_DRM_NOT_ACQUIRING
  10571. //
  10572. // MessageText:
  10573. //
  10574. //  The Windows Media Player is trying to acquire a license for a file that is not being used anymore. The License acquisition process will stop.%0
  10575. //
  10576.   NS_E_WMP_DRM_NOT_ACQUIRING       = HRESULT($C00D12C1);
  10577.   {$EXTERNALSYM NS_E_WMP_DRM_NOT_ACQUIRING}
  10578.  
  10579. //
  10580. // String is too large
  10581. //
  10582. //
  10583. // MessageId: NS_E_WMP_BSTR_TOO_LONG
  10584. //
  10585. // MessageText:
  10586. //
  10587. //  The parameter is invalid.%0
  10588. //
  10589.   NS_E_WMP_BSTR_TOO_LONG           = HRESULT($C00D12F2);
  10590.   {$EXTERNALSYM NS_E_WMP_BSTR_TOO_LONG}
  10591.  
  10592. //
  10593. // Autoplay errors 4860 --- 4870
  10594. //
  10595. //
  10596. // MessageId: NS_E_WMP_AUTOPLAY_INVALID_STATE
  10597. //
  10598. // MessageText:
  10599. //
  10600. //  Invalid state for this request.%0
  10601. //
  10602.   NS_E_WMP_AUTOPLAY_INVALID_STATE  = HRESULT($C00D12FC);
  10603.   {$EXTERNALSYM NS_E_WMP_AUTOPLAY_INVALID_STATE}
  10604.  
  10605. //
  10606. // CURL Errors 4900 -- 4949
  10607. //
  10608. //
  10609. // MessageId: NS_E_CURL_NOTSAFE
  10610. //
  10611. // MessageText:
  10612. //
  10613. //  The URL is not safe for the operation specified.%0
  10614. //
  10615.   NS_E_CURL_NOTSAFE                = HRESULT($C00D1324);
  10616.   {$EXTERNALSYM NS_E_CURL_NOTSAFE}
  10617.  
  10618. //
  10619. // MessageId: NS_E_CURL_INVALIDCHAR
  10620. //
  10621. // MessageText:
  10622. //
  10623. //  The URL contains one or more invalid characters.%0
  10624. //
  10625.   NS_E_CURL_INVALIDCHAR            = HRESULT($C00D1325);
  10626.   {$EXTERNALSYM NS_E_CURL_INVALIDCHAR}
  10627.  
  10628. //
  10629. // MessageId: NS_E_CURL_INVALIDHOSTNAME
  10630. //
  10631. // MessageText:
  10632. //
  10633. //  The URL contains an invalid hostname.%0
  10634. //
  10635.   NS_E_CURL_INVALIDHOSTNAME        = HRESULT($C00D1326);
  10636.   {$EXTERNALSYM NS_E_CURL_INVALIDHOSTNAME}
  10637.  
  10638. //
  10639. // MessageId: NS_E_CURL_INVALIDPATH
  10640. //
  10641. // MessageText:
  10642. //
  10643. //  The URL contains an invalid path.%0
  10644. //
  10645.   NS_E_CURL_INVALIDPATH            = HRESULT($C00D1327);
  10646.   {$EXTERNALSYM NS_E_CURL_INVALIDPATH}
  10647.  
  10648. //
  10649. // MessageId: NS_E_CURL_INVALIDSCHEME
  10650. //
  10651. // MessageText:
  10652. //
  10653. //  The URL contains an invalid scheme.%0
  10654. //
  10655.   NS_E_CURL_INVALIDSCHEME          = HRESULT($C00D1328);
  10656.   {$EXTERNALSYM NS_E_CURL_INVALIDSCHEME}
  10657.  
  10658. //
  10659. // MessageId: NS_E_CURL_INVALIDURL
  10660. //
  10661. // MessageText:
  10662. //
  10663. //  The URL is invalid.%0
  10664. //
  10665.   NS_E_CURL_INVALIDURL             = HRESULT($C00D1329);
  10666.   {$EXTERNALSYM NS_E_CURL_INVALIDURL}
  10667.  
  10668. //
  10669. // MessageId: NS_E_CURL_CANTWALK
  10670. //
  10671. // MessageText:
  10672. //
  10673. //  The URL would change the root.%0
  10674. //
  10675.   NS_E_CURL_CANTWALK               = HRESULT($C00D132B);
  10676.   {$EXTERNALSYM NS_E_CURL_CANTWALK}
  10677.  
  10678. //
  10679. // MessageId: NS_E_CURL_INVALIDPORT
  10680. //
  10681. // MessageText:
  10682. //
  10683. //  The URL port is invalid.%0
  10684. //
  10685.   NS_E_CURL_INVALIDPORT            = HRESULT($C00D132C);
  10686.   {$EXTERNALSYM NS_E_CURL_INVALIDPORT}
  10687.  
  10688. //
  10689. // MessageId: NS_E_CURLHELPER_NOTADIRECTORY
  10690. //
  10691. // MessageText:
  10692. //
  10693. //  The URL is not a directory.%0
  10694. //
  10695.   NS_E_CURLHELPER_NOTADIRECTORY    = HRESULT($C00D132D);
  10696.   {$EXTERNALSYM NS_E_CURLHELPER_NOTADIRECTORY}
  10697.  
  10698. //
  10699. // MessageId: NS_E_CURLHELPER_NOTAFILE
  10700. //
  10701. // MessageText:
  10702. //
  10703. //  The URL is not a file.%0
  10704. //
  10705.   NS_E_CURLHELPER_NOTAFILE         = HRESULT($C00D132E);
  10706.   {$EXTERNALSYM NS_E_CURLHELPER_NOTAFILE}
  10707.  
  10708. //
  10709. // MessageId: NS_E_CURL_CANTDECODE
  10710. //
  10711. // MessageText:
  10712. //
  10713. //  The URL contains characters that could not be decoded.  The URL may be truncated or incomplete.%0
  10714. //
  10715.   NS_E_CURL_CANTDECODE             = HRESULT($C00D132F);
  10716.   {$EXTERNALSYM NS_E_CURL_CANTDECODE}
  10717.  
  10718. //
  10719. // MessageId: NS_E_CURLHELPER_NOTRELATIVE
  10720. //
  10721. // MessageText:
  10722. //
  10723. //  The specified relative URL is actually not a relative URL.%0
  10724. //
  10725.   NS_E_CURLHELPER_NOTRELATIVE      = HRESULT($C00D1330);
  10726.   {$EXTERNALSYM NS_E_CURLHELPER_NOTRELATIVE}
  10727.  
  10728. //
  10729. // MessageId: NS_E_CURL_INVALIDBUFFERSIZE
  10730. //
  10731. // MessageText:
  10732. //
  10733. //  The buffer is smaller than the size specified.%0
  10734. //
  10735.   NS_E_CURL_INVALIDBUFFERSIZE      = HRESULT($C00D1355);
  10736.   {$EXTERNALSYM NS_E_CURL_INVALIDBUFFERSIZE}
  10737.  
  10738. //
  10739. // Subscription Service Errors 4950 -- 4969
  10740. //
  10741. //
  10742. // MessageId: NS_E_SUBSCRIPTIONSERVICE_PLAYBACK_DISALLOWED
  10743. //
  10744. // MessageText:
  10745. //
  10746. //  This content is provided by a music service. The content cannot be played, possibly because a valid license does not exist. Please contact the music service with questions.%0
  10747. //
  10748.   NS_E_SUBSCRIPTIONSERVICE_PLAYBACK_DISALLOWED = HRESULT($C00D1356);
  10749.   {$EXTERNALSYM NS_E_SUBSCRIPTIONSERVICE_PLAYBACK_DISALLOWED}
  10750.  
  10751. //
  10752. // Advanced Edit Dialog Errors 4970 -- 4989
  10753. //
  10754. //
  10755. // MessageId: NS_E_ADVANCEDEDIT_TOO_MANY_PICTURES
  10756. //
  10757. // MessageText:
  10758. //
  10759. //  Not all your images were saved to the file. Only 7MB of images may be saved to a media file.%0
  10760. //
  10761.   NS_E_ADVANCEDEDIT_TOO_MANY_PICTURES = HRESULT($C00D136A);
  10762.   {$EXTERNALSYM NS_E_ADVANCEDEDIT_TOO_MANY_PICTURES}
  10763.  
  10764.  
  10765.  
  10766. /////////////////////////////////////////////////////////////////////////
  10767. //
  10768. // Windows Media Server Errors
  10769. //
  10770. // IdRange = 5000 - 5999
  10771. //
  10772. /////////////////////////////////////////////////////////////////////////
  10773.  
  10774. //
  10775. // MessageId: NS_E_REDIRECT
  10776. //
  10777. // MessageText:
  10778. //
  10779. //  The client redirected to another server.%0
  10780. //
  10781.   NS_E_REDIRECT                    = HRESULT($C00D1388);
  10782.   {$EXTERNALSYM NS_E_REDIRECT}
  10783.  
  10784. //
  10785. // MessageId: NS_E_STALE_PRESENTATION
  10786. //
  10787. // MessageText:
  10788. //
  10789. //  The streaming media description is no longer current.%0
  10790. //
  10791.   NS_E_STALE_PRESENTATION          = HRESULT($C00D1389);
  10792.   {$EXTERNALSYM NS_E_STALE_PRESENTATION}
  10793.  
  10794.  
  10795. // Namespace Errors
  10796.  
  10797. //
  10798. // MessageId: NS_E_NAMESPACE_WRONG_PERSIST
  10799. //
  10800. // MessageText:
  10801. //
  10802. //  It is not possible to create a persistent namespace node under a transient parent node.%0
  10803. //
  10804.   NS_E_NAMESPACE_WRONG_PERSIST     = HRESULT($C00D138A);
  10805.   {$EXTERNALSYM NS_E_NAMESPACE_WRONG_PERSIST}
  10806.  
  10807. //
  10808. // MessageId: NS_E_NAMESPACE_WRONG_TYPE
  10809. //
  10810. // MessageText:
  10811. //
  10812. //  It is not possible to store a value in a namespace node that has a different value type.%0
  10813. //
  10814.   NS_E_NAMESPACE_WRONG_TYPE        = HRESULT($C00D138B);
  10815.   {$EXTERNALSYM NS_E_NAMESPACE_WRONG_TYPE}
  10816.  
  10817. //
  10818. // MessageId: NS_E_NAMESPACE_NODE_CONFLICT
  10819. //
  10820. // MessageText:
  10821. //
  10822. //  It is not possible to remove the root namespace node.%0
  10823. //
  10824.   NS_E_NAMESPACE_NODE_CONFLICT     = HRESULT($C00D138C);
  10825.   {$EXTERNALSYM NS_E_NAMESPACE_NODE_CONFLICT}
  10826.  
  10827. //
  10828. // MessageId: NS_E_NAMESPACE_NODE_NOT_FOUND
  10829. //
  10830. // MessageText:
  10831. //
  10832. //  The specified namespace node could not be found.%0
  10833. //
  10834.   NS_E_NAMESPACE_NODE_NOT_FOUND    = HRESULT($C00D138D);
  10835.   {$EXTERNALSYM NS_E_NAMESPACE_NODE_NOT_FOUND}
  10836.  
  10837. //
  10838. // MessageId: NS_E_NAMESPACE_BUFFER_TOO_SMALL
  10839. //
  10840. // MessageText:
  10841. //
  10842. //  The buffer supplied to hold namespace node string is too small.%0
  10843. //
  10844.   NS_E_NAMESPACE_BUFFER_TOO_SMALL  = HRESULT($C00D138E);
  10845.   {$EXTERNALSYM NS_E_NAMESPACE_BUFFER_TOO_SMALL}
  10846.  
  10847. //
  10848. // MessageId: NS_E_NAMESPACE_TOO_MANY_CALLBACKS
  10849. //
  10850. // MessageText:
  10851. //
  10852. //  The callback list on a namespace node is at the maximum size.%0
  10853. //
  10854.   NS_E_NAMESPACE_TOO_MANY_CALLBACKS = HRESULT($C00D138F);
  10855.   {$EXTERNALSYM NS_E_NAMESPACE_TOO_MANY_CALLBACKS}
  10856.  
  10857. //
  10858. // MessageId: NS_E_NAMESPACE_DUPLICATE_CALLBACK
  10859. //
  10860. // MessageText:
  10861. //
  10862. //  It is not possible to register an already-registered callback on a namespace node.%0
  10863. //
  10864.   NS_E_NAMESPACE_DUPLICATE_CALLBACK = HRESULT($C00D1390);
  10865.   {$EXTERNALSYM NS_E_NAMESPACE_DUPLICATE_CALLBACK}
  10866.  
  10867. //
  10868. // MessageId: NS_E_NAMESPACE_CALLBACK_NOT_FOUND
  10869. //
  10870. // MessageText:
  10871. //
  10872. //  Cannot find the callback in the namespace when attempting to remove the callback.%0
  10873. //
  10874.   NS_E_NAMESPACE_CALLBACK_NOT_FOUND = HRESULT($C00D1391);
  10875.   {$EXTERNALSYM NS_E_NAMESPACE_CALLBACK_NOT_FOUND}
  10876.  
  10877. //
  10878. // MessageId: NS_E_NAMESPACE_NAME_TOO_LONG
  10879. //
  10880. // MessageText:
  10881. //
  10882. //  The namespace node name exceeds the allowed maximum length.%0
  10883. //
  10884.   NS_E_NAMESPACE_NAME_TOO_LONG     = HRESULT($C00D1392);
  10885.   {$EXTERNALSYM NS_E_NAMESPACE_NAME_TOO_LONG}
  10886.  
  10887. //
  10888. // MessageId: NS_E_NAMESPACE_DUPLICATE_NAME
  10889. //
  10890. // MessageText:
  10891. //
  10892. //  Cannot create a namespace node that already exists.%0
  10893. //
  10894.   NS_E_NAMESPACE_DUPLICATE_NAME    = HRESULT($C00D1393);
  10895.   {$EXTERNALSYM NS_E_NAMESPACE_DUPLICATE_NAME}
  10896.  
  10897. //
  10898. // MessageId: NS_E_NAMESPACE_EMPTY_NAME
  10899. //
  10900. // MessageText:
  10901. //
  10902. //  The namespace node name cannot be a null string.%0
  10903. //
  10904.   NS_E_NAMESPACE_EMPTY_NAME        = HRESULT($C00D1394);
  10905.   {$EXTERNALSYM NS_E_NAMESPACE_EMPTY_NAME}
  10906.  
  10907. //
  10908. // MessageId: NS_E_NAMESPACE_INDEX_TOO_LARGE
  10909. //
  10910. // MessageText:
  10911. //
  10912. //  Finding a child namespace node by index failed because the index exceeded the number of children.%0
  10913. //
  10914.   NS_E_NAMESPACE_INDEX_TOO_LARGE   = HRESULT($C00D1395);
  10915.   {$EXTERNALSYM NS_E_NAMESPACE_INDEX_TOO_LARGE}
  10916.  
  10917. //
  10918. // MessageId: NS_E_NAMESPACE_BAD_NAME
  10919. //
  10920. // MessageText:
  10921. //
  10922. //  The namespace node name is invalid.%0
  10923. //
  10924.   NS_E_NAMESPACE_BAD_NAME          = HRESULT($C00D1396);
  10925.   {$EXTERNALSYM NS_E_NAMESPACE_BAD_NAME}
  10926.  
  10927. //
  10928. // MessageId: NS_E_NAMESPACE_WRONG_SECURITY
  10929. //
  10930. // MessageText:
  10931. //
  10932. //  It is not possible to store a value in a namespace node that has a different security type.%0
  10933. //
  10934.   NS_E_NAMESPACE_WRONG_SECURITY    = HRESULT($C00D1397);
  10935.   {$EXTERNALSYM NS_E_NAMESPACE_WRONG_SECURITY}
  10936.  
  10937.  
  10938. // Cache Errors 5100-5199
  10939.  
  10940. //
  10941. // MessageId: NS_E_CACHE_ARCHIVE_CONFLICT
  10942. //
  10943. // MessageText:
  10944. //
  10945. //  The archive request conflicts with other requests in progress.%0
  10946. //
  10947.   NS_E_CACHE_ARCHIVE_CONFLICT      = HRESULT($C00D13EC);
  10948.   {$EXTERNALSYM NS_E_CACHE_ARCHIVE_CONFLICT}
  10949.  
  10950. //
  10951. // MessageId: NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND
  10952. //
  10953. // MessageText:
  10954. //
  10955. //  The specified origin server cannot be found.%0
  10956. //
  10957.   NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND = HRESULT($C00D13ED);
  10958.   {$EXTERNALSYM NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND}
  10959.  
  10960. //
  10961. // MessageId: NS_E_CACHE_ORIGIN_SERVER_TIMEOUT
  10962. //
  10963. // MessageText:
  10964. //
  10965. //  The specified origin server is not responding.%0
  10966. //
  10967.   NS_E_CACHE_ORIGIN_SERVER_TIMEOUT = HRESULT($C00D13EE);
  10968.   {$EXTERNALSYM NS_E_CACHE_ORIGIN_SERVER_TIMEOUT}
  10969.  
  10970. //
  10971. // MessageId: NS_E_CACHE_NOT_BROADCAST
  10972. //
  10973. // MessageText:
  10974. //
  10975. //  The internal code for HTTP status code 412 Precondition Failed due to not broadcast type.%0
  10976. //
  10977.   NS_E_CACHE_NOT_BROADCAST         = HRESULT($C00D13EF);
  10978.   {$EXTERNALSYM NS_E_CACHE_NOT_BROADCAST}
  10979.  
  10980. //
  10981. // MessageId: NS_E_CACHE_CANNOT_BE_CACHED
  10982. //
  10983. // MessageText:
  10984. //
  10985. //  The internal code for HTTP status code 403 Forbidden due to not cacheable.%0
  10986. //
  10987.   NS_E_CACHE_CANNOT_BE_CACHED      = HRESULT($C00D13F0);
  10988.   {$EXTERNALSYM NS_E_CACHE_CANNOT_BE_CACHED}
  10989.  
  10990. //
  10991. // MessageId: NS_E_CACHE_NOT_MODIFIED
  10992. //
  10993. // MessageText:
  10994. //
  10995. //  The internal code for HTTP status code 304 Not Modified.%0
  10996. //
  10997.   NS_E_CACHE_NOT_MODIFIED          = HRESULT($C00D13F1);
  10998.   {$EXTERNALSYM NS_E_CACHE_NOT_MODIFIED}
  10999.  
  11000.  
  11001. // Object Model Errors 5200-5299
  11002.  
  11003. //
  11004. // MessageId: NS_E_CANNOT_REMOVE_PUBLISHING_POINT
  11005. //
  11006. // MessageText:
  11007. //
  11008. //  It is not possible to remove a cache or proxy publishing point.%0
  11009. //
  11010.   NS_E_CANNOT_REMOVE_PUBLISHING_POINT = HRESULT($C00D1450);
  11011.   {$EXTERNALSYM NS_E_CANNOT_REMOVE_PUBLISHING_POINT}
  11012.  
  11013. //
  11014. // MessageId: NS_E_CANNOT_REMOVE_PLUGIN
  11015. //
  11016. // MessageText:
  11017. //
  11018. //  It is not possible to remove the last instance of a type of plug-in.%0
  11019. //
  11020.   NS_E_CANNOT_REMOVE_PLUGIN        = HRESULT($C00D1451);
  11021.   {$EXTERNALSYM NS_E_CANNOT_REMOVE_PLUGIN}
  11022.  
  11023. //
  11024. // MessageId: NS_E_WRONG_PUBLISHING_POINT_TYPE
  11025. //
  11026. // MessageText:
  11027. //
  11028. //  Cache and proxy publishing points do not support this property or method.%0
  11029. //
  11030.   NS_E_WRONG_PUBLISHING_POINT_TYPE = HRESULT($C00D1452);
  11031.   {$EXTERNALSYM NS_E_WRONG_PUBLISHING_POINT_TYPE}
  11032.  
  11033. //
  11034. // MessageId: NS_E_UNSUPPORTED_LOAD_TYPE
  11035. //
  11036. // MessageText:
  11037. //
  11038. //  The plug-in does not support the specified load type.%0
  11039. //
  11040.   NS_E_UNSUPPORTED_LOAD_TYPE       = HRESULT($C00D1453);
  11041.   {$EXTERNALSYM NS_E_UNSUPPORTED_LOAD_TYPE}
  11042.  
  11043. //
  11044. // MessageId: NS_E_INVALID_PLUGIN_LOAD_TYPE_CONFIGURATION
  11045. //
  11046. // MessageText:
  11047. //
  11048. //  The plug-in does not support any load types. The plug-in must support at least one load type.%0
  11049. //
  11050.   NS_E_INVALID_PLUGIN_LOAD_TYPE_CONFIGURATION = HRESULT($C00D1454);
  11051.   {$EXTERNALSYM NS_E_INVALID_PLUGIN_LOAD_TYPE_CONFIGURATION}
  11052.  
  11053. //
  11054. // MessageId: NS_E_INVALID_PUBLISHING_POINT_NAME
  11055. //
  11056. // MessageText:
  11057. //
  11058. //  The publishing point name is invalid.%0
  11059. //
  11060.   NS_E_INVALID_PUBLISHING_POINT_NAME = HRESULT($C00D1455);
  11061.   {$EXTERNALSYM NS_E_INVALID_PUBLISHING_POINT_NAME}
  11062.  
  11063. //
  11064. // MessageId: NS_E_TOO_MANY_MULTICAST_SINKS
  11065. //
  11066. // MessageText:
  11067. //
  11068. //  Only one multicast data writer plug-in can be enabled for a publishing point.%0
  11069. //
  11070.   NS_E_TOO_MANY_MULTICAST_SINKS    = HRESULT($C00D1456);
  11071.   {$EXTERNALSYM NS_E_TOO_MANY_MULTICAST_SINKS}
  11072.  
  11073. //
  11074. // MessageId: NS_E_PUBLISHING_POINT_INVALID_REQUEST_WHILE_STARTED
  11075. //
  11076. // MessageText:
  11077. //
  11078. //  The requested operation cannot be completed while the publishing point is started.%0
  11079. //
  11080.   NS_E_PUBLISHING_POINT_INVALID_REQUEST_WHILE_STARTED = HRESULT($C00D1457);
  11081.   {$EXTERNALSYM NS_E_PUBLISHING_POINT_INVALID_REQUEST_WHILE_STARTED}
  11082.  
  11083. //
  11084. // MessageId: NS_E_MULTICAST_PLUGIN_NOT_ENABLED
  11085. //
  11086. // MessageText:
  11087. //
  11088. //  A multicast data writer plug-in must be enabled in order for this operation to be completed.%0
  11089. //
  11090.   NS_E_MULTICAST_PLUGIN_NOT_ENABLED = HRESULT($C00D1458);
  11091.   {$EXTERNALSYM NS_E_MULTICAST_PLUGIN_NOT_ENABLED}
  11092.  
  11093. //
  11094. // MessageId: NS_E_INVALID_OPERATING_SYSTEM_VERSION
  11095. //
  11096. // MessageText:
  11097. //
  11098. //  This feature requires Windows .NET Enterprise Server.%0
  11099. //
  11100.   NS_E_INVALID_OPERATING_SYSTEM_VERSION = HRESULT($C00D1459);
  11101.   {$EXTERNALSYM NS_E_INVALID_OPERATING_SYSTEM_VERSION}
  11102.  
  11103. //
  11104. // MessageId: NS_E_PUBLISHING_POINT_REMOVED
  11105. //
  11106. // MessageText:
  11107. //
  11108. //  The requested operation cannot be completed because the specified publishing point has been removed.%0
  11109. //
  11110.   NS_E_PUBLISHING_POINT_REMOVED    = HRESULT($C00D145A);
  11111.   {$EXTERNALSYM NS_E_PUBLISHING_POINT_REMOVED}
  11112.  
  11113. //
  11114. // MessageId: NS_E_INVALID_PUSH_PUBLISHING_POINT_START_REQUEST
  11115. //
  11116. // MessageText:
  11117. //
  11118. //  Push publishing points are started when the encoder starts pushing the stream. This publishing point cannot be started by the server administrator.%0
  11119. //
  11120.   NS_E_INVALID_PUSH_PUBLISHING_POINT_START_REQUEST = HRESULT($C00D145B);
  11121.   {$EXTERNALSYM NS_E_INVALID_PUSH_PUBLISHING_POINT_START_REQUEST}
  11122.  
  11123. //
  11124. // MessageId: NS_E_UNSUPPORTED_LANGUAGE
  11125. //
  11126. // MessageText:
  11127. //
  11128. //  The specified language is not supported.%0
  11129. //
  11130.   NS_E_UNSUPPORTED_LANGUAGE        = HRESULT($C00D145C);
  11131.   {$EXTERNALSYM NS_E_UNSUPPORTED_LANGUAGE}
  11132.  
  11133. //
  11134. // MessageId: NS_E_WRONG_OS_VERSION
  11135. //
  11136. // MessageText:
  11137. //
  11138. //  Windows Media Services will only run on Windows .NET Server and Windows .NET Enterprise Server.%0
  11139. //
  11140.   NS_E_WRONG_OS_VERSION            = HRESULT($C00D145D);
  11141.   {$EXTERNALSYM NS_E_WRONG_OS_VERSION}
  11142.  
  11143. //
  11144. // MessageId: NS_E_PUBLISHING_POINT_STOPPED
  11145. //
  11146. // MessageText:
  11147. //
  11148. //  The operation cannot be completed because the publishing point has been stopped.%0
  11149. //
  11150.   NS_E_PUBLISHING_POINT_STOPPED    = HRESULT($C00D145E);
  11151.   {$EXTERNALSYM NS_E_PUBLISHING_POINT_STOPPED}
  11152.  
  11153.  
  11154. // Playlist Errors 5300-5399
  11155.  
  11156. //
  11157. // MessageId: NS_E_PLAYLIST_ENTRY_ALREADY_PLAYING
  11158. //
  11159. // MessageText:
  11160. //
  11161. //  The playlist entry is already playing.%0
  11162. //
  11163.   NS_E_PLAYLIST_ENTRY_ALREADY_PLAYING = HRESULT($C00D14B4);
  11164.   {$EXTERNALSYM NS_E_PLAYLIST_ENTRY_ALREADY_PLAYING}
  11165.  
  11166. //
  11167. // MessageId: NS_E_EMPTY_PLAYLIST
  11168. //
  11169. // MessageText:
  11170. //
  11171. //  The playlist or directory you are requesting does not contain content.%0
  11172. //
  11173.   NS_E_EMPTY_PLAYLIST              = HRESULT($C00D14B5);
  11174.   {$EXTERNALSYM NS_E_EMPTY_PLAYLIST}
  11175.  
  11176. //
  11177. // MessageId: NS_E_PLAYLIST_PARSE_FAILURE
  11178. //
  11179. // MessageText:
  11180. //
  11181. //  The server was unable to parse the requested playlist file.%0
  11182. //
  11183.   NS_E_PLAYLIST_PARSE_FAILURE      = HRESULT($C00D14B6);
  11184.   {$EXTERNALSYM NS_E_PLAYLIST_PARSE_FAILURE}
  11185.  
  11186. //
  11187. // MessageId: NS_E_PLAYLIST_UNSUPPORTED_ENTRY
  11188. //
  11189. // MessageText:
  11190. //
  11191. //  The requested operation is not supported for this type of playlist entry.%0
  11192. //
  11193.   NS_E_PLAYLIST_UNSUPPORTED_ENTRY  = HRESULT($C00D14B7);
  11194.   {$EXTERNALSYM NS_E_PLAYLIST_UNSUPPORTED_ENTRY}
  11195.  
  11196. //
  11197. // MessageId: NS_E_PLAYLIST_ENTRY_NOT_IN_PLAYLIST
  11198. //
  11199. // MessageText:
  11200. //
  11201. //  Cannot jump to a playlist entry that is not inserted in the playlist.%0
  11202. //
  11203.   NS_E_PLAYLIST_ENTRY_NOT_IN_PLAYLIST = HRESULT($C00D14B8);
  11204.   {$EXTERNALSYM NS_E_PLAYLIST_ENTRY_NOT_IN_PLAYLIST}
  11205.  
  11206. //
  11207. // MessageId: NS_E_PLAYLIST_ENTRY_SEEK
  11208. //
  11209. // MessageText:
  11210. //
  11211. //  Cannot seek to the desired playlist entry.%0
  11212. //
  11213.   NS_E_PLAYLIST_ENTRY_SEEK         = HRESULT($C00D14B9);
  11214.   {$EXTERNALSYM NS_E_PLAYLIST_ENTRY_SEEK}
  11215.  
  11216. //
  11217. // MessageId: NS_E_PLAYLIST_RECURSIVE_PLAYLISTS
  11218. //
  11219. // MessageText:
  11220. //
  11221. //  Cannot play recursive playlist.%0
  11222. //
  11223.   NS_E_PLAYLIST_RECURSIVE_PLAYLISTS = HRESULT($C00D14BA);
  11224.   {$EXTERNALSYM NS_E_PLAYLIST_RECURSIVE_PLAYLISTS}
  11225.  
  11226. //
  11227. // MessageId: NS_E_PLAYLIST_TOO_MANY_NESTED_PLAYLISTS
  11228. //
  11229. // MessageText:
  11230. //
  11231. //  The number of nested playlists exceeded the limit the server can handle.%0
  11232. //
  11233.   NS_E_PLAYLIST_TOO_MANY_NESTED_PLAYLISTS = HRESULT($C00D14BB);
  11234.   {$EXTERNALSYM NS_E_PLAYLIST_TOO_MANY_NESTED_PLAYLISTS}
  11235.  
  11236. //
  11237. // MessageId: NS_E_PLAYLIST_SHUTDOWN
  11238. //
  11239. // MessageText:
  11240. //
  11241. //  Cannot execute the requested operation because the playlist has been shut down by the Media Server.%0
  11242. //
  11243.   NS_E_PLAYLIST_SHUTDOWN           = HRESULT($C00D14BC);
  11244.   {$EXTERNALSYM NS_E_PLAYLIST_SHUTDOWN}
  11245.  
  11246. //
  11247. // MessageId: NS_E_PLAYLIST_END_RECEDING
  11248. //
  11249. // MessageText:
  11250. //
  11251. //  The playlist has ended while receding.%0
  11252. //
  11253.   NS_E_PLAYLIST_END_RECEDING       = HRESULT($C00D14BD);
  11254.   {$EXTERNALSYM NS_E_PLAYLIST_END_RECEDING}
  11255.  
  11256. //
  11257. // MessageId: NS_I_PLAYLIST_CHANGE_RECEDING
  11258. //
  11259. // MessageText:
  11260. //
  11261. //  The playlist change occurred while receding.%0
  11262. //
  11263.   NS_I_PLAYLIST_CHANGE_RECEDING    = HRESULT($400D14BE);
  11264.   {$EXTERNALSYM NS_I_PLAYLIST_CHANGE_RECEDING}
  11265.  
  11266.  
  11267. // Datapath Errors -- 5400 - 5499
  11268.  
  11269. //
  11270. // MessageId: NS_E_DATAPATH_NO_SINK
  11271. //
  11272. // MessageText:
  11273. //
  11274. //  The data path does not have an associated data writer plug-in.%0
  11275. //
  11276.   NS_E_DATAPATH_NO_SINK            = HRESULT($C00D1518);
  11277.   {$EXTERNALSYM NS_E_DATAPATH_NO_SINK}
  11278.  
  11279. //
  11280. // MessageId: NS_S_PUBLISHING_POINT_STARTED_WITH_FAILED_SINKS
  11281. //
  11282. // MessageText:
  11283. //
  11284. //  The publishing point successfully started, but one or more of the requested data writer plug-ins failed.%0
  11285. //
  11286.   NS_S_PUBLISHING_POINT_STARTED_WITH_FAILED_SINKS = HRESULT($000D1519);
  11287.   {$EXTERNALSYM NS_S_PUBLISHING_POINT_STARTED_WITH_FAILED_SINKS}
  11288.  
  11289. //
  11290. // MessageId: NS_E_INVALID_PUSH_TEMPLATE
  11291. //
  11292. // MessageText:
  11293. //
  11294. //  The specified push template is invalid.%0
  11295. //
  11296.   NS_E_INVALID_PUSH_TEMPLATE       = HRESULT($C00D151A);
  11297.   {$EXTERNALSYM NS_E_INVALID_PUSH_TEMPLATE}
  11298.  
  11299. //
  11300. // MessageId: NS_E_INVALID_PUSH_PUBLISHING_POINT
  11301. //
  11302. // MessageText:
  11303. //
  11304. //  The specified push publishing point is invalid.%0
  11305. //
  11306.   NS_E_INVALID_PUSH_PUBLISHING_POINT = HRESULT($C00D151B);
  11307.   {$EXTERNALSYM NS_E_INVALID_PUSH_PUBLISHING_POINT}
  11308.  
  11309. //
  11310. // MessageId: NS_E_CRITICAL_ERROR
  11311. //
  11312. // MessageText:
  11313. //
  11314. //  The requested operation cannot be performed because the server or publishing point is in a critical error state.%0
  11315. //
  11316.   NS_E_CRITICAL_ERROR              = HRESULT($C00D151C);
  11317.   {$EXTERNALSYM NS_E_CRITICAL_ERROR}
  11318.  
  11319. //
  11320. // MessageId: NS_E_NO_NEW_CONNECTIONS
  11321. //
  11322. // MessageText:
  11323. //
  11324. //  The content can not be played because the server is not currently accepting connections. Try connecting at a later time.%0
  11325. //
  11326.   NS_E_NO_NEW_CONNECTIONS          = HRESULT($C00D151D);
  11327.   {$EXTERNALSYM NS_E_NO_NEW_CONNECTIONS}
  11328.  
  11329. //
  11330. // MessageId: NS_E_WSX_INVALID_VERSION
  11331. //
  11332. // MessageText:
  11333. //
  11334. //  The version of this playlist is not supported by the server.%0
  11335. //
  11336.   NS_E_WSX_INVALID_VERSION         = HRESULT($C00D151E);
  11337.   {$EXTERNALSYM NS_E_WSX_INVALID_VERSION}
  11338.  
  11339. //
  11340. // MessageId: NS_E_HEADER_MISMATCH
  11341. //
  11342. // MessageText:
  11343. //
  11344. //  The command does not apply to the current media header user by a server component.%0
  11345. //
  11346.   NS_E_HEADER_MISMATCH             = HRESULT($C00D151F);
  11347.   {$EXTERNALSYM NS_E_HEADER_MISMATCH}
  11348.  
  11349. //
  11350. // MessageId: NS_E_PUSH_DUPLICATE_PUBLISHING_POINT_NAME
  11351. //
  11352. // MessageText:
  11353. //
  11354. //  The specified publishing point name is already in use.%0
  11355. //
  11356.   NS_E_PUSH_DUPLICATE_PUBLISHING_POINT_NAME = HRESULT($C00D1520);
  11357.   {$EXTERNALSYM NS_E_PUSH_DUPLICATE_PUBLISHING_POINT_NAME}
  11358.  
  11359.  
  11360. // Plugin Errors -- 5500 - 5599
  11361.  
  11362. //
  11363. // MessageId: NS_E_NO_SCRIPT_ENGINE
  11364. //
  11365. // MessageText:
  11366. //
  11367. //  There is no script engine available for this file.%0
  11368. //
  11369.   NS_E_NO_SCRIPT_ENGINE            = HRESULT($C00D157C);
  11370.   {$EXTERNALSYM NS_E_NO_SCRIPT_ENGINE}
  11371.  
  11372. //
  11373. // MessageId: NS_E_PLUGIN_ERROR_REPORTED
  11374. //
  11375. // MessageText:
  11376. //
  11377. //  The plug-in has reported an error. See the Troubleshooting tab or the NT Application Event Log for details.%0
  11378. //
  11379.   NS_E_PLUGIN_ERROR_REPORTED       = HRESULT($C00D157D);
  11380.   {$EXTERNALSYM NS_E_PLUGIN_ERROR_REPORTED}
  11381.  
  11382. //
  11383. // MessageId: NS_E_SOURCE_PLUGIN_NOT_FOUND
  11384. //
  11385. // MessageText:
  11386. //
  11387. //  No enabled data source plug-in is available to access the requested content.%0
  11388. //
  11389.   NS_E_SOURCE_PLUGIN_NOT_FOUND     = HRESULT($C00D157E);
  11390.   {$EXTERNALSYM NS_E_SOURCE_PLUGIN_NOT_FOUND}
  11391.  
  11392. //
  11393. // MessageId: NS_E_PLAYLIST_PLUGIN_NOT_FOUND
  11394. //
  11395. // MessageText:
  11396. //
  11397. //  No enabled playlist parser plug-in is available to access the requested content.%0
  11398. //
  11399.   NS_E_PLAYLIST_PLUGIN_NOT_FOUND   = HRESULT($C00D157F);
  11400.   {$EXTERNALSYM NS_E_PLAYLIST_PLUGIN_NOT_FOUND}
  11401.  
  11402. //
  11403. // MessageId: NS_E_DATA_SOURCE_ENUMERATION_NOT_SUPPORTED
  11404. //
  11405. // MessageText:
  11406. //
  11407. //  The data source plug-in does not support enumeration.%0
  11408. //
  11409.   NS_E_DATA_SOURCE_ENUMERATION_NOT_SUPPORTED = HRESULT($C00D1580);
  11410.   {$EXTERNALSYM NS_E_DATA_SOURCE_ENUMERATION_NOT_SUPPORTED}
  11411.  
  11412. //
  11413. // MessageId: NS_E_MEDIA_PARSER_INVALID_FORMAT
  11414. //
  11415. // MessageText:
  11416. //
  11417. //  The server cannot stream the selected file because it is either damaged or corrupt. Select a different file.%0
  11418. //
  11419.   NS_E_MEDIA_PARSER_INVALID_FORMAT = HRESULT($C00D1581);
  11420.   {$EXTERNALSYM NS_E_MEDIA_PARSER_INVALID_FORMAT}
  11421.  
  11422. //
  11423. // MessageId: NS_E_SCRIPT_DEBUGGER_NOT_INSTALLED
  11424. //
  11425. // MessageText:
  11426. //
  11427. //  The plug-in cannot be enabled because a compatible script debugger is not installed
  11428. //  on this system.  Install a script debugger, or disable the script debugger option on the general
  11429. //  tab of the plug-in's properties page and try again.%0
  11430. //
  11431.   NS_E_SCRIPT_DEBUGGER_NOT_INSTALLED = HRESULT($C00D1582);
  11432.   {$EXTERNALSYM NS_E_SCRIPT_DEBUGGER_NOT_INSTALLED}
  11433.  
  11434. //
  11435. // MessageId: NS_E_FEATURE_REQUIRES_ENTERPRISE_SERVER
  11436. //
  11437. // MessageText:
  11438. //
  11439. //  The plug-in cannot be loaded because it requires Windows .NET Enterprise Server.%0
  11440. //
  11441.   NS_E_FEATURE_REQUIRES_ENTERPRISE_SERVER = HRESULT($C00D1583);
  11442.   {$EXTERNALSYM NS_E_FEATURE_REQUIRES_ENTERPRISE_SERVER}
  11443.  
  11444. //
  11445. // MessageId: NS_E_WIZARD_RUNNING
  11446. //
  11447. // MessageText:
  11448. //
  11449. //  Another wizard is currently running. Please close the other wizard or wait until it finishes before attempting to run this wizard again.%0
  11450. //
  11451.   NS_E_WIZARD_RUNNING              = HRESULT($C00D1584);
  11452.   {$EXTERNALSYM NS_E_WIZARD_RUNNING}
  11453.  
  11454. //
  11455. // MessageId: NS_E_INVALID_LOG_URL
  11456. //
  11457. // MessageText:
  11458. //
  11459. //  Invalid log URL. Multicast logging URL must look like "http://servername/isapibackend.dll" .%0
  11460. //
  11461.   NS_E_INVALID_LOG_URL             = HRESULT($C00D1585);
  11462.   {$EXTERNALSYM NS_E_INVALID_LOG_URL}
  11463.  
  11464. //
  11465. // MessageId: NS_E_INVALID_MTU_RANGE
  11466. //
  11467. // MessageText:
  11468. //
  11469. //  Invalid MTU specified. The valid range for maximum packet size is between 36  and 65507 bytes .%0
  11470. //
  11471.   NS_E_INVALID_MTU_RANGE           = HRESULT($C00D1586);
  11472.   {$EXTERNALSYM NS_E_INVALID_MTU_RANGE}
  11473.  
  11474. //
  11475. // MessageId: NS_E_INVALID_PLAY_STATISTICS
  11476. //
  11477. // MessageText:
  11478. //
  11479. //  Invalid play statistics for logging .%0
  11480. //
  11481.   NS_E_INVALID_PLAY_STATISTICS     = HRESULT($C00D1587);
  11482.   {$EXTERNALSYM NS_E_INVALID_PLAY_STATISTICS}
  11483.  
  11484. //
  11485. // MessageId: NS_E_LOG_NEED_TO_BE_SKIPPED
  11486. //
  11487. // MessageText:
  11488. //
  11489. //  The log needs to be skipped .%0
  11490. //
  11491.   NS_E_LOG_NEED_TO_BE_SKIPPED      = HRESULT($C00D1588);
  11492.   {$EXTERNALSYM NS_E_LOG_NEED_TO_BE_SKIPPED}
  11493.  
  11494. //
  11495. // MessageId: NS_E_HTTP_TEXT_DATACONTAINER_SIZE_LIMIT_EXCEEDED
  11496. //
  11497. // MessageText:
  11498. //
  11499. //  The size of the data exceeded the limit the WMS HTTP Download Data Source plugin can handle.%0
  11500. //
  11501.   NS_E_HTTP_TEXT_DATACONTAINER_SIZE_LIMIT_EXCEEDED = HRESULT($C00D1589);
  11502.   {$EXTERNALSYM NS_E_HTTP_TEXT_DATACONTAINER_SIZE_LIMIT_EXCEEDED}
  11503.  
  11504. //
  11505. // MessageId: NS_E_PORT_IN_USE
  11506. //
  11507. // MessageText:
  11508. //
  11509. //  One usage of each socket address (protocol/network address/port) is permitted.
  11510. //  Verify that other services or applications are not attempting to use the same
  11511. //  port and then try to enable the plug-in again.%0
  11512. //
  11513.   NS_E_PORT_IN_USE                 = HRESULT($C00D158A);
  11514.   {$EXTERNALSYM NS_E_PORT_IN_USE}
  11515.  
  11516. //
  11517. // MessageId: NS_E_PORT_IN_USE_HTTP
  11518. //
  11519. // MessageText:
  11520. //
  11521. //  One usage of each socket address (protocol/network address/port) is permitted.
  11522. //  Verify that other services (such as IIS) or applications are not attempting to use
  11523. //  the same port and then try to enable the plug-in again.%0
  11524. //
  11525.   NS_E_PORT_IN_USE_HTTP            = HRESULT($C00D158B);
  11526.   {$EXTERNALSYM NS_E_PORT_IN_USE_HTTP}
  11527.  
  11528. //
  11529. // MessageId: NS_E_HTTP_TEXT_DATACONTAINER_INVALID_SERVER_RESPONSE
  11530. //
  11531. // MessageText:
  11532. //
  11533. //  The WMS HTTP Download Data Source plugin was unable to receive the remote server's response.%0
  11534. //
  11535.   NS_E_HTTP_TEXT_DATACONTAINER_INVALID_SERVER_RESPONSE = HRESULT($C00D158C);
  11536.   {$EXTERNALSYM NS_E_HTTP_TEXT_DATACONTAINER_INVALID_SERVER_RESPONSE}
  11537.  
  11538. //
  11539. // MessageId: NS_E_ARCHIVE_REACH_QUOTA
  11540. //
  11541. // MessageText:
  11542. //
  11543. //  The archive plug-in has reached its quota.%0
  11544. //
  11545.   NS_E_ARCHIVE_REACH_QUOTA         = HRESULT($C00D158D);
  11546.   {$EXTERNALSYM NS_E_ARCHIVE_REACH_QUOTA}
  11547.  
  11548. //
  11549. // MessageId: NS_E_ARCHIVE_ABORT_DUE_TO_BCAST
  11550. //
  11551. // MessageText:
  11552. //
  11553. //  The archive plug-in aborted because the source was from broadcast.%0
  11554. //
  11555.   NS_E_ARCHIVE_ABORT_DUE_TO_BCAST  = HRESULT($C00D158E);
  11556.   {$EXTERNALSYM NS_E_ARCHIVE_ABORT_DUE_TO_BCAST}
  11557.  
  11558. //
  11559. // MessageId: NS_E_ARCHIVE_GAP_DETECTED
  11560. //
  11561. // MessageText:
  11562. //
  11563. //  The archive plug-in detected an interrupt in the source.%0
  11564. //
  11565.   NS_E_ARCHIVE_GAP_DETECTED        = HRESULT($C00D158F);
  11566.   {$EXTERNALSYM NS_E_ARCHIVE_GAP_DETECTED}
  11567.  
  11568.  
  11569.  
  11570. /////////////////////////////////////////////////////////////////////////
  11571. //
  11572. // Windows Media Tools Errors
  11573. //
  11574. // IdRange = 7000 - 7999
  11575. //
  11576. /////////////////////////////////////////////////////////////////////////
  11577.  
  11578. //
  11579. // MessageId: NS_E_BAD_MARKIN
  11580. //
  11581. // MessageText:
  11582. //
  11583. //  The mark-in time should be greater than 0 and less than the mark-out time.%0
  11584. //
  11585.   NS_E_BAD_MARKIN                  = HRESULT($C00D1B58);
  11586.   {$EXTERNALSYM NS_E_BAD_MARKIN}
  11587.  
  11588. //
  11589. // MessageId: NS_E_BAD_MARKOUT
  11590. //
  11591. // MessageText:
  11592. //
  11593. //  The mark-out time should be greater than the mark-in time and less than the file duration.%0
  11594. //
  11595.   NS_E_BAD_MARKOUT                 = HRESULT($C00D1B59);
  11596.   {$EXTERNALSYM NS_E_BAD_MARKOUT}
  11597.  
  11598. //
  11599. // MessageId: NS_E_NOMATCHING_MEDIASOURCE
  11600. //
  11601. // MessageText:
  11602. //
  11603. //  No matching media type is found in the source %1.%0
  11604. //
  11605.   NS_E_NOMATCHING_MEDIASOURCE      = HRESULT($C00D1B5A);
  11606.   {$EXTERNALSYM NS_E_NOMATCHING_MEDIASOURCE}
  11607.  
  11608. //
  11609. // MessageId: NS_E_UNSUPPORTED_SOURCETYPE
  11610. //
  11611. // MessageText:
  11612. //
  11613. //  The specified source type is not supported.%0
  11614. //
  11615.   NS_E_UNSUPPORTED_SOURCETYPE      = HRESULT($C00D1B5B);
  11616.   {$EXTERNALSYM NS_E_UNSUPPORTED_SOURCETYPE}
  11617.  
  11618. //
  11619. // MessageId: NS_E_TOO_MANY_AUDIO
  11620. //
  11621. // MessageText:
  11622. //
  11623. //  It is not possible to specify more than one audio input.%0
  11624. //
  11625.   NS_E_TOO_MANY_AUDIO              = HRESULT($C00D1B5C);
  11626.   {$EXTERNALSYM NS_E_TOO_MANY_AUDIO}
  11627.  
  11628. //
  11629. // MessageId: NS_E_TOO_MANY_VIDEO
  11630. //
  11631. // MessageText:
  11632. //
  11633. //  It is not possible to specify more than two video inputs.%0
  11634. //
  11635.   NS_E_TOO_MANY_VIDEO              = HRESULT($C00D1B5D);
  11636.   {$EXTERNALSYM NS_E_TOO_MANY_VIDEO}
  11637.  
  11638. //
  11639. // MessageId: NS_E_NOMATCHING_ELEMENT
  11640. //
  11641. // MessageText:
  11642. //
  11643. //  No matching element is found in the list.%0
  11644. //
  11645.   NS_E_NOMATCHING_ELEMENT          = HRESULT($C00D1B5E);
  11646.   {$EXTERNALSYM NS_E_NOMATCHING_ELEMENT}
  11647.  
  11648. //
  11649. // MessageId: NS_E_MISMATCHED_MEDIACONTENT
  11650. //
  11651. // MessageText:
  11652. //
  11653. //  The profile's media types must match the media types defined for the session.%0
  11654. //
  11655.   NS_E_MISMATCHED_MEDIACONTENT     = HRESULT($C00D1B5F);
  11656.   {$EXTERNALSYM NS_E_MISMATCHED_MEDIACONTENT}
  11657.  
  11658. //
  11659. // MessageId: NS_E_CANNOT_DELETE_ACTIVE_SOURCEGROUP
  11660. //
  11661. // MessageText:
  11662. //
  11663. //  It is not possible to remove an active source while encoding.%0
  11664. //
  11665.   NS_E_CANNOT_DELETE_ACTIVE_SOURCEGROUP = HRESULT($C00D1B60);
  11666.   {$EXTERNALSYM NS_E_CANNOT_DELETE_ACTIVE_SOURCEGROUP}
  11667.  
  11668. //
  11669. // MessageId: NS_E_AUDIODEVICE_BUSY
  11670. //
  11671. // MessageText:
  11672. //
  11673. //  It is not possible to open the specified audio capture device because it is currently in use.%0
  11674. //
  11675.   NS_E_AUDIODEVICE_BUSY            = HRESULT($C00D1B61);
  11676.   {$EXTERNALSYM NS_E_AUDIODEVICE_BUSY}
  11677.  
  11678. //
  11679. // MessageId: NS_E_AUDIODEVICE_UNEXPECTED
  11680. //
  11681. // MessageText:
  11682. //
  11683. //  It is not possible to open the specified audio capture device because an unexpected error has occurred.%0
  11684. //
  11685.   NS_E_AUDIODEVICE_UNEXPECTED      = HRESULT($C00D1B62);
  11686.   {$EXTERNALSYM NS_E_AUDIODEVICE_UNEXPECTED}
  11687.  
  11688. //
  11689. // MessageId: NS_E_AUDIODEVICE_BADFORMAT
  11690. //
  11691. // MessageText:
  11692. //
  11693. //  The audio capture device does not support the specified audio format.%0
  11694. //
  11695.   NS_E_AUDIODEVICE_BADFORMAT       = HRESULT($C00D1B63);
  11696.   {$EXTERNALSYM NS_E_AUDIODEVICE_BADFORMAT}
  11697.  
  11698. //
  11699. // MessageId: NS_E_VIDEODEVICE_BUSY
  11700. //
  11701. // MessageText:
  11702. //
  11703. //  It is not possible to open the specified video capture device because it is currently in use.%0
  11704. //
  11705.   NS_E_VIDEODEVICE_BUSY            = HRESULT($C00D1B64);
  11706.   {$EXTERNALSYM NS_E_VIDEODEVICE_BUSY}
  11707.  
  11708. //
  11709. // MessageId: NS_E_VIDEODEVICE_UNEXPECTED
  11710. //
  11711. // MessageText:
  11712. //
  11713. //  It is not possible to open the specified video capture device because an unexpected error has occurred.%0
  11714. //
  11715.   NS_E_VIDEODEVICE_UNEXPECTED      = HRESULT($C00D1B65);
  11716.   {$EXTERNALSYM NS_E_VIDEODEVICE_UNEXPECTED}
  11717.  
  11718. //
  11719. // MessageId: NS_E_INVALIDCALL_WHILE_ENCODER_RUNNING
  11720. //
  11721. // MessageText:
  11722. //
  11723. //  This operation is not allowed while encoding.%0
  11724. //
  11725.   NS_E_INVALIDCALL_WHILE_ENCODER_RUNNING = HRESULT($C00D1B66);
  11726.   {$EXTERNALSYM NS_E_INVALIDCALL_WHILE_ENCODER_RUNNING}
  11727.  
  11728. //
  11729. // MessageId: NS_E_NO_PROFILE_IN_SOURCEGROUP
  11730. //
  11731. // MessageText:
  11732. //
  11733. //  No profile is set for the source.%0
  11734. //
  11735.   NS_E_NO_PROFILE_IN_SOURCEGROUP   = HRESULT($C00D1B67);
  11736.   {$EXTERNALSYM NS_E_NO_PROFILE_IN_SOURCEGROUP}
  11737.  
  11738. //
  11739. // MessageId: NS_E_VIDEODRIVER_UNSTABLE
  11740. //
  11741. // MessageText:
  11742. //
  11743. //  The video capture driver returned an unrecoverable error.  It is now in an unstable state.%0
  11744. //
  11745.   NS_E_VIDEODRIVER_UNSTABLE        = HRESULT($C00D1B68);
  11746.   {$EXTERNALSYM NS_E_VIDEODRIVER_UNSTABLE}
  11747.  
  11748. //
  11749. // MessageId: NS_E_VIDCAPSTARTFAILED
  11750. //
  11751. // MessageText:
  11752. //
  11753. //  It was not possible to start the video device.%0
  11754. //
  11755.   NS_E_VIDCAPSTARTFAILED           = HRESULT($C00D1B69);
  11756.   {$EXTERNALSYM NS_E_VIDCAPSTARTFAILED}
  11757.  
  11758. //
  11759. // MessageId: NS_E_VIDSOURCECOMPRESSION
  11760. //
  11761. // MessageText:
  11762. //
  11763. //  The video source does not support the requested output format or color depth.%0
  11764. //
  11765.   NS_E_VIDSOURCECOMPRESSION        = HRESULT($C00D1B6A);
  11766.   {$EXTERNALSYM NS_E_VIDSOURCECOMPRESSION}
  11767.  
  11768. //
  11769. // MessageId: NS_E_VIDSOURCESIZE
  11770. //
  11771. // MessageText:
  11772. //
  11773. //  The video source does not support the requested capture size.%0
  11774. //
  11775.   NS_E_VIDSOURCESIZE               = HRESULT($C00D1B6B);
  11776.   {$EXTERNALSYM NS_E_VIDSOURCESIZE}
  11777.  
  11778. //
  11779. // MessageId: NS_E_ICMQUERYFORMAT
  11780. //
  11781. // MessageText:
  11782. //
  11783. //  It was not possible to obtain output information from the video compressor.%0
  11784. //
  11785.   NS_E_ICMQUERYFORMAT              = HRESULT($C00D1B6C);
  11786.   {$EXTERNALSYM NS_E_ICMQUERYFORMAT}
  11787.  
  11788. //
  11789. // MessageId: NS_E_VIDCAPCREATEWINDOW
  11790. //
  11791. // MessageText:
  11792. //
  11793. //  It was not possible to create a video capture window.%0
  11794. //
  11795.   NS_E_VIDCAPCREATEWINDOW          = HRESULT($C00D1B6D);
  11796.   {$EXTERNALSYM NS_E_VIDCAPCREATEWINDOW}
  11797.  
  11798. //
  11799. // MessageId: NS_E_VIDCAPDRVINUSE
  11800. //
  11801. // MessageText:
  11802. //
  11803. //  There is already a stream active on this video device.%0
  11804. //
  11805.   NS_E_VIDCAPDRVINUSE              = HRESULT($C00D1B6E);
  11806.   {$EXTERNALSYM NS_E_VIDCAPDRVINUSE}
  11807.  
  11808. //
  11809. // MessageId: NS_E_NO_MEDIAFORMAT_IN_SOURCE
  11810. //
  11811. // MessageText:
  11812. //
  11813. //  No media format is set in source.%0
  11814. //
  11815.   NS_E_NO_MEDIAFORMAT_IN_SOURCE    = HRESULT($C00D1B6F);
  11816.   {$EXTERNALSYM NS_E_NO_MEDIAFORMAT_IN_SOURCE}
  11817.  
  11818. //
  11819. // MessageId: NS_E_NO_VALID_OUTPUT_STREAM
  11820. //
  11821. // MessageText:
  11822. //
  11823. //  Cannot find a valid output stream from the source.%0
  11824. //
  11825.   NS_E_NO_VALID_OUTPUT_STREAM      = HRESULT($C00D1B70);
  11826.   {$EXTERNALSYM NS_E_NO_VALID_OUTPUT_STREAM}
  11827.  
  11828. //
  11829. // MessageId: NS_E_NO_VALID_SOURCE_PLUGIN
  11830. //
  11831. // MessageText:
  11832. //
  11833. //  It was not possible to find a valid source plug-in for the specified source.%0
  11834. //
  11835.   NS_E_NO_VALID_SOURCE_PLUGIN      = HRESULT($C00D1B71);
  11836.   {$EXTERNALSYM NS_E_NO_VALID_SOURCE_PLUGIN}
  11837.  
  11838. //
  11839. // MessageId: NS_E_NO_ACTIVE_SOURCEGROUP
  11840. //
  11841. // MessageText:
  11842. //
  11843. //  No source is currently active.%0
  11844. //
  11845.   NS_E_NO_ACTIVE_SOURCEGROUP       = HRESULT($C00D1B72);
  11846.   {$EXTERNALSYM NS_E_NO_ACTIVE_SOURCEGROUP}
  11847.  
  11848. //
  11849. // MessageId: NS_E_NO_SCRIPT_STREAM
  11850. //
  11851. // MessageText:
  11852. //
  11853. //  No script stream is set in the current source.%0
  11854. //
  11855.   NS_E_NO_SCRIPT_STREAM            = HRESULT($C00D1B73);
  11856.   {$EXTERNALSYM NS_E_NO_SCRIPT_STREAM}
  11857.  
  11858. //
  11859. // MessageId: NS_E_INVALIDCALL_WHILE_ARCHIVAL_RUNNING
  11860. //
  11861. // MessageText:
  11862. //
  11863. //  This operation is not allowed while archiving.%0
  11864. //
  11865.   NS_E_INVALIDCALL_WHILE_ARCHIVAL_RUNNING = HRESULT($C00D1B74);
  11866.   {$EXTERNALSYM NS_E_INVALIDCALL_WHILE_ARCHIVAL_RUNNING}
  11867.  
  11868. //
  11869. // MessageId: NS_E_INVALIDPACKETSIZE
  11870. //
  11871. // MessageText:
  11872. //
  11873. //  The setting for the maximum packet size is not valid.%0
  11874. //
  11875.   NS_E_INVALIDPACKETSIZE           = HRESULT($C00D1B75);
  11876.   {$EXTERNALSYM NS_E_INVALIDPACKETSIZE}
  11877.  
  11878. //
  11879. // MessageId: NS_E_PLUGIN_CLSID_INVALID
  11880. //
  11881. // MessageText:
  11882. //
  11883. //  The plug-in CLSID specified is not valid.%0
  11884. //
  11885.   NS_E_PLUGIN_CLSID_INVALID        = HRESULT($C00D1B76);
  11886.   {$EXTERNALSYM NS_E_PLUGIN_CLSID_INVALID}
  11887.  
  11888. //
  11889. // MessageId: NS_E_UNSUPPORTED_ARCHIVETYPE
  11890. //
  11891. // MessageText:
  11892. //
  11893. //  This archive type is not supported.%0
  11894. //
  11895.   NS_E_UNSUPPORTED_ARCHIVETYPE     = HRESULT($C00D1B77);
  11896.   {$EXTERNALSYM NS_E_UNSUPPORTED_ARCHIVETYPE}
  11897.  
  11898. //
  11899. // MessageId: NS_E_UNSUPPORTED_ARCHIVEOPERATION
  11900. //
  11901. // MessageText:
  11902. //
  11903. //  This archive operation is not supported.%0
  11904. //
  11905.   NS_E_UNSUPPORTED_ARCHIVEOPERATION = HRESULT($C00D1B78);
  11906.   {$EXTERNALSYM NS_E_UNSUPPORTED_ARCHIVEOPERATION}
  11907.  
  11908. //
  11909. // MessageId: NS_E_ARCHIVE_FILENAME_NOTSET
  11910. //
  11911. // MessageText:
  11912. //
  11913. //  The local archive file name was not set.%0
  11914. //
  11915.   NS_E_ARCHIVE_FILENAME_NOTSET     = HRESULT($C00D1B79);
  11916.   {$EXTERNALSYM NS_E_ARCHIVE_FILENAME_NOTSET}
  11917.  
  11918. //
  11919. // MessageId: NS_E_SOURCEGROUP_NOTPREPARED
  11920. //
  11921. // MessageText:
  11922. //
  11923. //  The source is not yet prepared.%0
  11924. //
  11925.   NS_E_SOURCEGROUP_NOTPREPARED     = HRESULT($C00D1B7A);
  11926.   {$EXTERNALSYM NS_E_SOURCEGROUP_NOTPREPARED}
  11927.  
  11928. //
  11929. // MessageId: NS_E_PROFILE_MISMATCH
  11930. //
  11931. // MessageText:
  11932. //
  11933. //  Profiles on the sources do not match.%0
  11934. //
  11935.   NS_E_PROFILE_MISMATCH            = HRESULT($C00D1B7B);
  11936.   {$EXTERNALSYM NS_E_PROFILE_MISMATCH}
  11937.  
  11938. //
  11939. // MessageId: NS_E_INCORRECTCLIPSETTINGS
  11940. //
  11941. // MessageText:
  11942. //
  11943. //  The specified crop values are not valid.%0
  11944. //
  11945.   NS_E_INCORRECTCLIPSETTINGS       = HRESULT($C00D1B7C);
  11946.   {$EXTERNALSYM NS_E_INCORRECTCLIPSETTINGS}
  11947.  
  11948. //
  11949. // MessageId: NS_E_NOSTATSAVAILABLE
  11950. //
  11951. // MessageText:
  11952. //
  11953. //  No statistics are available at this time.%0
  11954. //
  11955.   NS_E_NOSTATSAVAILABLE            = HRESULT($C00D1B7D);
  11956.   {$EXTERNALSYM NS_E_NOSTATSAVAILABLE}
  11957.  
  11958. //
  11959. // MessageId: NS_E_NOTARCHIVING
  11960. //
  11961. // MessageText:
  11962. //
  11963. //  The encoder is not archiving.%0
  11964. //
  11965.   NS_E_NOTARCHIVING                = HRESULT($C00D1B7E);
  11966.   {$EXTERNALSYM NS_E_NOTARCHIVING}
  11967.  
  11968. //
  11969. // MessageId: NS_E_INVALIDCALL_WHILE_ENCODER_STOPPED
  11970. //
  11971. // MessageText:
  11972. //
  11973. //  This operation is only allowed during encoding.%0
  11974. //
  11975.   NS_E_INVALIDCALL_WHILE_ENCODER_STOPPED = HRESULT($C00D1B7F);
  11976.   {$EXTERNALSYM NS_E_INVALIDCALL_WHILE_ENCODER_STOPPED}
  11977.  
  11978. //
  11979. // MessageId: NS_E_NOSOURCEGROUPS
  11980. //
  11981. // MessageText:
  11982. //
  11983. //  This SourceGroupCollection doesn't contain any SourceGroups.%0
  11984. //
  11985.   NS_E_NOSOURCEGROUPS              = HRESULT($C00D1B80);
  11986.   {$EXTERNALSYM NS_E_NOSOURCEGROUPS}
  11987.  
  11988. //
  11989. // MessageId: NS_E_INVALIDINPUTFPS
  11990. //
  11991. // MessageText:
  11992. //
  11993. //  This source does not have a frame rate of 30 fps. Therefore, it is not possible to apply the inverse telecine filter to the source.%0
  11994. //
  11995.   NS_E_INVALIDINPUTFPS             = HRESULT($C00D1B81);
  11996.   {$EXTERNALSYM NS_E_INVALIDINPUTFPS}
  11997.  
  11998. //
  11999. // MessageId: NS_E_NO_DATAVIEW_SUPPORT
  12000. //
  12001. // MessageText:
  12002. //
  12003. //  It is not possible to display your source or output video in the Video panel.%0
  12004. //
  12005.   NS_E_NO_DATAVIEW_SUPPORT         = HRESULT($C00D1B82);
  12006.   {$EXTERNALSYM NS_E_NO_DATAVIEW_SUPPORT}
  12007.  
  12008. //
  12009. // MessageId: NS_E_CODEC_UNAVAILABLE
  12010. //
  12011. // MessageText:
  12012. //
  12013. //  One or more codecs required to open this content could not be found.%0
  12014. //
  12015.   NS_E_CODEC_UNAVAILABLE           = HRESULT($C00D1B83);
  12016.   {$EXTERNALSYM NS_E_CODEC_UNAVAILABLE}
  12017.  
  12018. //
  12019. // MessageId: NS_E_ARCHIVE_SAME_AS_INPUT
  12020. //
  12021. // MessageText:
  12022. //
  12023. //  The archive file has the same name as an input file. Change one of the names before continuing.%0
  12024. //
  12025.   NS_E_ARCHIVE_SAME_AS_INPUT       = HRESULT($C00D1B84);
  12026.   {$EXTERNALSYM NS_E_ARCHIVE_SAME_AS_INPUT}
  12027.  
  12028. //
  12029. // MessageId: NS_E_SOURCE_NOTSPECIFIED
  12030. //
  12031. // MessageText:
  12032. //
  12033. //  The source has not been set up completely.%0
  12034. //
  12035.   NS_E_SOURCE_NOTSPECIFIED         = HRESULT($C00D1B85);
  12036.   {$EXTERNALSYM NS_E_SOURCE_NOTSPECIFIED}
  12037.  
  12038. //
  12039. // MessageId: NS_E_NO_REALTIME_TIMECOMPRESSION
  12040. //
  12041. // MessageText:
  12042. //
  12043. //  It is not possible to apply time compression to a broadcast session.%0
  12044. //
  12045.   NS_E_NO_REALTIME_TIMECOMPRESSION = HRESULT($C00D1B86);
  12046.   {$EXTERNALSYM NS_E_NO_REALTIME_TIMECOMPRESSION}
  12047.  
  12048. //
  12049. // MessageId: NS_E_UNSUPPORTED_ENCODER_DEVICE
  12050. //
  12051. // MessageText:
  12052. //
  12053. //  It is not possible to open this device.%0
  12054. //
  12055.   NS_E_UNSUPPORTED_ENCODER_DEVICE  = HRESULT($C00D1B87);
  12056.   {$EXTERNALSYM NS_E_UNSUPPORTED_ENCODER_DEVICE}
  12057.  
  12058. //
  12059. // MessageId: NS_E_UNEXPECTED_DISPLAY_SETTINGS
  12060. //
  12061. // MessageText:
  12062. //
  12063. //  It is not possible to start encoding because the display size or color has changed since the current session was defined. Restore the previous settings or create a new session.%0
  12064. //
  12065.   NS_E_UNEXPECTED_DISPLAY_SETTINGS = HRESULT($C00D1B88);
  12066.   {$EXTERNALSYM NS_E_UNEXPECTED_DISPLAY_SETTINGS}
  12067.  
  12068. //
  12069. // MessageId: NS_E_NO_AUDIODATA
  12070. //
  12071. // MessageText:
  12072. //
  12073. //  No audio data has been received for several seconds. Check the audio source and restart the encoder.%0
  12074. //
  12075.   NS_E_NO_AUDIODATA                = HRESULT($C00D1B89);
  12076.   {$EXTERNALSYM NS_E_NO_AUDIODATA}
  12077.  
  12078. //
  12079. // MessageId: NS_E_INPUTSOURCE_PROBLEM
  12080. //
  12081. // MessageText:
  12082. //
  12083. //  One or all of the specified sources are not working properly. Check that the sources are configured correctly.%0
  12084. //
  12085.   NS_E_INPUTSOURCE_PROBLEM         = HRESULT($C00D1B8A);
  12086.   {$EXTERNALSYM NS_E_INPUTSOURCE_PROBLEM}
  12087.  
  12088. //
  12089. // MessageId: NS_E_WME_VERSION_MISMATCH
  12090. //
  12091. // MessageText:
  12092. //
  12093. //  The supplied configuration file is not supported by this version of the encoder.%0
  12094. //
  12095.   NS_E_WME_VERSION_MISMATCH        = HRESULT($C00D1B8B);
  12096.   {$EXTERNALSYM NS_E_WME_VERSION_MISMATCH}
  12097.  
  12098. //
  12099. // MessageId: NS_E_NO_REALTIME_PREPROCESS
  12100. //
  12101. // MessageText:
  12102. //
  12103. //  It is not possible to use image preprocessing with live encoding.%0
  12104. //
  12105.   NS_E_NO_REALTIME_PREPROCESS      = HRESULT($C00D1B8C);
  12106.   {$EXTERNALSYM NS_E_NO_REALTIME_PREPROCESS}
  12107.  
  12108. //
  12109. // MessageId: NS_E_NO_REPEAT_PREPROCESS
  12110. //
  12111. // MessageText:
  12112. //
  12113. //  It is not possible to use two-pass encoding when the source is set to loop.%0
  12114. //
  12115.   NS_E_NO_REPEAT_PREPROCESS        = HRESULT($C00D1B8D);
  12116.   {$EXTERNALSYM NS_E_NO_REPEAT_PREPROCESS}
  12117.  
  12118. //
  12119. // MessageId: NS_E_CANNOT_PAUSE_LIVEBROADCAST
  12120. //
  12121. // MessageText:
  12122. //
  12123. //  It is not possible to pause encoding during a broadcast.%0
  12124. //
  12125.   NS_E_CANNOT_PAUSE_LIVEBROADCAST  = HRESULT($C00D1B8E);
  12126.   {$EXTERNALSYM NS_E_CANNOT_PAUSE_LIVEBROADCAST}
  12127.  
  12128. //
  12129. // MessageId: NS_E_DRM_PROFILE_NOT_SET
  12130. //
  12131. // MessageText:
  12132. //
  12133. //  A DRM profile has not been set for the current session.%0
  12134. //
  12135.   NS_E_DRM_PROFILE_NOT_SET         = HRESULT($C00D1B8F);
  12136.   {$EXTERNALSYM NS_E_DRM_PROFILE_NOT_SET}
  12137.  
  12138. //
  12139. // MessageId: NS_E_DUPLICATE_DRMPROFILE
  12140. //
  12141. // MessageText:
  12142. //
  12143. //  The profile ID is already used by a DRM profile. Specify a different profile ID.%0
  12144. //
  12145.   NS_E_DUPLICATE_DRMPROFILE        = HRESULT($C00D1B90);
  12146.   {$EXTERNALSYM NS_E_DUPLICATE_DRMPROFILE}
  12147.  
  12148. //
  12149. // MessageId: NS_E_INVALID_DEVICE
  12150. //
  12151. // MessageText:
  12152. //
  12153. //  The setting of the selected device does not support control for playing back tapes.%0
  12154. //
  12155.   NS_E_INVALID_DEVICE              = HRESULT($C00D1B91);
  12156.   {$EXTERNALSYM NS_E_INVALID_DEVICE}
  12157.  
  12158. //
  12159. // MessageId: NS_E_SPEECHEDL_ON_NON_MIXEDMODE
  12160. //
  12161. // MessageText:
  12162. //
  12163. //  You must specify a mixed voice and audio mode in order to use an optimization definition file.%0
  12164. //
  12165.   NS_E_SPEECHEDL_ON_NON_MIXEDMODE  = HRESULT($C00D1B92);
  12166.   {$EXTERNALSYM NS_E_SPEECHEDL_ON_NON_MIXEDMODE}
  12167.  
  12168. //
  12169. // MessageId: NS_E_DRM_PASSWORD_TOO_LONG
  12170. //
  12171. // MessageText:
  12172. //
  12173. //  The specified password is too long. Type a password with fewer than 8 characters.%0
  12174. //
  12175.   NS_E_DRM_PASSWORD_TOO_LONG       = HRESULT($C00D1B93);
  12176.   {$EXTERNALSYM NS_E_DRM_PASSWORD_TOO_LONG}
  12177.  
  12178. //
  12179. // MessageId: NS_E_DEVCONTROL_FAILED_SEEK
  12180. //
  12181. // MessageText:
  12182. //
  12183. //  It is not possible to seek to the specified mark-in point.%0
  12184. //
  12185.   NS_E_DEVCONTROL_FAILED_SEEK      = HRESULT($C00D1B94);
  12186.   {$EXTERNALSYM NS_E_DEVCONTROL_FAILED_SEEK}
  12187.  
  12188. //
  12189. // MessageId: NS_E_INTERLACE_REQUIRE_SAMESIZE
  12190. //
  12191. // MessageText:
  12192. //
  12193. //  When you choose to maintain the interlacing in your video, the output video size must match the input video size.%0
  12194. //
  12195.   NS_E_INTERLACE_REQUIRE_SAMESIZE  = HRESULT($C00D1B95);
  12196.   {$EXTERNALSYM NS_E_INTERLACE_REQUIRE_SAMESIZE}
  12197.  
  12198. //
  12199. // MessageId: NS_E_TOO_MANY_DEVICECONTROL
  12200. //
  12201. // MessageText:
  12202. //
  12203. //  Only one device control plug-in can control a device.%0
  12204. //
  12205.   NS_E_TOO_MANY_DEVICECONTROL      = HRESULT($C00D1B96);
  12206.   {$EXTERNALSYM NS_E_TOO_MANY_DEVICECONTROL}
  12207.  
  12208. //
  12209. // MessageId: NS_E_NO_MULTIPASS_FOR_LIVEDEVICE
  12210. //
  12211. // MessageText:
  12212. //
  12213. //  You must also enable storing content to hard disk temporarily in order to use two-pass encoding with the input device.%0
  12214. //
  12215.   NS_E_NO_MULTIPASS_FOR_LIVEDEVICE = HRESULT($C00D1B97);
  12216.   {$EXTERNALSYM NS_E_NO_MULTIPASS_FOR_LIVEDEVICE}
  12217.  
  12218. //
  12219. // MessageId: NS_E_MISSING_AUDIENCE
  12220. //
  12221. // MessageText:
  12222. //
  12223. //  An audience is missing from the output stream configuration.%0
  12224. //
  12225.   NS_E_MISSING_AUDIENCE            = HRESULT($C00D1B98);
  12226.   {$EXTERNALSYM NS_E_MISSING_AUDIENCE}
  12227.  
  12228. //
  12229. // MessageId: NS_E_AUDIENCE_CONTENTTYPE_MISMATCH
  12230. //
  12231. // MessageText:
  12232. //
  12233. //  All audiences in the output tree must have the same content type.%0
  12234. //
  12235.   NS_E_AUDIENCE_CONTENTTYPE_MISMATCH = HRESULT($C00D1B99);
  12236.   {$EXTERNALSYM NS_E_AUDIENCE_CONTENTTYPE_MISMATCH}
  12237.  
  12238. //
  12239. // MessageId: NS_E_MISSING_SOURCE_INDEX
  12240. //
  12241. // MessageText:
  12242. //
  12243. //  A source index is missing from the output stream configuration.%0
  12244. //
  12245.   NS_E_MISSING_SOURCE_INDEX        = HRESULT($C00D1B9A);
  12246.   {$EXTERNALSYM NS_E_MISSING_SOURCE_INDEX}
  12247.  
  12248. //
  12249. // MessageId: NS_E_NUM_LANGUAGE_MISMATCH
  12250. //
  12251. // MessageText:
  12252. //
  12253. //  The same source index in different audiences should have the same number of languages.%0
  12254. //
  12255.   NS_E_NUM_LANGUAGE_MISMATCH       = HRESULT($C00D1B9B);
  12256.   {$EXTERNALSYM NS_E_NUM_LANGUAGE_MISMATCH}
  12257.  
  12258. //
  12259. // MessageId: NS_E_LANGUAGE_MISMATCH
  12260. //
  12261. // MessageText:
  12262. //
  12263. //  The same source index in different audiences should have the same languages.%0
  12264. //
  12265.   NS_E_LANGUAGE_MISMATCH           = HRESULT($C00D1B9C);
  12266.   {$EXTERNALSYM NS_E_LANGUAGE_MISMATCH}
  12267.  
  12268. //
  12269. // MessageId: NS_E_VBRMODE_MISMATCH
  12270. //
  12271. // MessageText:
  12272. //
  12273. //  The same source index in different audiences should use the same VBR encoding mode.%0
  12274. //
  12275.   NS_E_VBRMODE_MISMATCH            = HRESULT($C00D1B9D);
  12276.   {$EXTERNALSYM NS_E_VBRMODE_MISMATCH}
  12277.  
  12278. //
  12279. // MessageId: NS_E_INVALID_INPUT_AUDIENCE_INDEX
  12280. //
  12281. // MessageText:
  12282. //
  12283. //  The bit rate index specified is not valid.%0
  12284. //
  12285.   NS_E_INVALID_INPUT_AUDIENCE_INDEX = HRESULT($C00D1B9E);
  12286.   {$EXTERNALSYM NS_E_INVALID_INPUT_AUDIENCE_INDEX}
  12287.  
  12288. //
  12289. // MessageId: NS_E_INVALID_INPUT_LANGUAGE
  12290. //
  12291. // MessageText:
  12292. //
  12293. //  The specified language is not valid.%0
  12294. //
  12295.   NS_E_INVALID_INPUT_LANGUAGE      = HRESULT($C00D1B9F);
  12296.   {$EXTERNALSYM NS_E_INVALID_INPUT_LANGUAGE}
  12297.  
  12298. //
  12299. // MessageId: NS_E_INVALID_INPUT_STREAM
  12300. //
  12301. // MessageText:
  12302. //
  12303. //  The specified source type is not valid.%0
  12304. //
  12305.   NS_E_INVALID_INPUT_STREAM        = HRESULT($C00D1BA0);
  12306.   {$EXTERNALSYM NS_E_INVALID_INPUT_STREAM}
  12307.  
  12308. //
  12309. // MessageId: NS_E_EXPECT_MONO_WAV_INPUT
  12310. //
  12311. // MessageText:
  12312. //
  12313. //  The source must be a mono channel .wav file.%0
  12314. //
  12315.   NS_E_EXPECT_MONO_WAV_INPUT       = HRESULT($C00D1BA1);
  12316.   {$EXTERNALSYM NS_E_EXPECT_MONO_WAV_INPUT}
  12317.  
  12318. //
  12319. // MessageId: NS_E_INPUT_WAVFORMAT_MISMATCH
  12320. //
  12321. // MessageText:
  12322. //
  12323. //  All the source .wav files must have the same format.%0
  12324. //
  12325.   NS_E_INPUT_WAVFORMAT_MISMATCH    = HRESULT($C00D1BA2);
  12326.   {$EXTERNALSYM NS_E_INPUT_WAVFORMAT_MISMATCH}
  12327.  
  12328. //
  12329. // MessageId: NS_E_RECORDQ_DISK_FULL
  12330. //
  12331. // MessageText:
  12332. //
  12333. //  The hard disk being used for temporary storage of content has reached the minimum allowed disk space. Create more space on the hard disk and restart encoding.%0
  12334. //
  12335.   NS_E_RECORDQ_DISK_FULL           = HRESULT($C00D1BA3);
  12336.   {$EXTERNALSYM NS_E_RECORDQ_DISK_FULL}
  12337.  
  12338. //
  12339. // MessageId: NS_E_NO_PAL_INVERSE_TELECINE
  12340. //
  12341. // MessageText:
  12342. //
  12343. //  It is not possible to apply the inverse telecine feature to PAL content.%0
  12344. //
  12345.   NS_E_NO_PAL_INVERSE_TELECINE     = HRESULT($C00D1BA4);
  12346.   {$EXTERNALSYM NS_E_NO_PAL_INVERSE_TELECINE}
  12347.  
  12348. //
  12349. // MessageId: NS_E_ACTIVE_SG_DEVICE_DISCONNECTED
  12350. //
  12351. // MessageText:
  12352. //
  12353. //  A capture device in the current active source is no longer available.%0
  12354. //
  12355.   NS_E_ACTIVE_SG_DEVICE_DISCONNECTED = HRESULT($C00D1BA5);
  12356.   {$EXTERNALSYM NS_E_ACTIVE_SG_DEVICE_DISCONNECTED}
  12357.  
  12358. //
  12359. // MessageId: NS_E_ACTIVE_SG_DEVICE_CONTROL_DISCONNECTED
  12360. //
  12361. // MessageText:
  12362. //
  12363. //  A device used in the current active source for device control is no longer available.%0
  12364. //
  12365.   NS_E_ACTIVE_SG_DEVICE_CONTROL_DISCONNECTED = HRESULT($C00D1BA6);
  12366.   {$EXTERNALSYM NS_E_ACTIVE_SG_DEVICE_CONTROL_DISCONNECTED}
  12367.  
  12368. //
  12369. // MessageId: NS_E_NO_FRAMES_SUBMITTED_TO_ANALYZER
  12370. //
  12371. // MessageText:
  12372. //
  12373. //  No frames have been submitted to the analyzer for analysis.%0
  12374. //
  12375.   NS_E_NO_FRAMES_SUBMITTED_TO_ANALYZER = HRESULT($C00D1BA7);
  12376.   {$EXTERNALSYM NS_E_NO_FRAMES_SUBMITTED_TO_ANALYZER}
  12377.  
  12378. //
  12379. // MessageId: NS_E_INPUT_DOESNOT_SUPPORT_SMPTE
  12380. //
  12381. // MessageText:
  12382. //
  12383. //  The source video does not support time codes.%0
  12384. //
  12385.   NS_E_INPUT_DOESNOT_SUPPORT_SMPTE = HRESULT($C00D1BA8);
  12386.   {$EXTERNALSYM NS_E_INPUT_DOESNOT_SUPPORT_SMPTE}
  12387.  
  12388. //
  12389. // MessageId: NS_E_NO_SMPTE_WITH_MULTIPLE_SOURCEGROUPS
  12390. //
  12391. // MessageText:
  12392. //
  12393. //  It is not possible to generate a time code when there are multiple sources in a session.%0
  12394. //
  12395.   NS_E_NO_SMPTE_WITH_MULTIPLE_SOURCEGROUPS = HRESULT($C00D1BA9);
  12396.   {$EXTERNALSYM NS_E_NO_SMPTE_WITH_MULTIPLE_SOURCEGROUPS}
  12397.  
  12398. //
  12399. // MessageId: NS_E_BAD_CONTENTEDL
  12400. //
  12401. // MessageText:
  12402. //
  12403. //  The voice codec optimization definition file can not be found or is corrupted.%0
  12404. //
  12405.   NS_E_BAD_CONTENTEDL              = HRESULT($C00D1BAA);
  12406.   {$EXTERNALSYM NS_E_BAD_CONTENTEDL}
  12407.  
  12408. //
  12409. // MessageId: NS_E_INTERLACEMODE_MISMATCH
  12410. //
  12411. // MessageText:
  12412. //
  12413. //  The same source index in different audiences should have the same interlace mode.%0
  12414. //
  12415.   NS_E_INTERLACEMODE_MISMATCH      = HRESULT($C00D1BAB);
  12416.   {$EXTERNALSYM NS_E_INTERLACEMODE_MISMATCH}
  12417.  
  12418. //
  12419. // MessageId: NS_E_NONSQUAREPIXELMODE_MISMATCH
  12420. //
  12421. // MessageText:
  12422. //
  12423. //  The same source index in different audiences should have the same nonsquare pixel mode.%0
  12424. //
  12425.   NS_E_NONSQUAREPIXELMODE_MISMATCH = HRESULT($C00D1BAC);
  12426.   {$EXTERNALSYM NS_E_NONSQUAREPIXELMODE_MISMATCH}
  12427.  
  12428. //
  12429. // MessageId: NS_E_SMPTEMODE_MISMATCH
  12430. //
  12431. // MessageText:
  12432. //
  12433. //  The same source index in different audiences should have the same time code mode.%0
  12434. //
  12435.   NS_E_SMPTEMODE_MISMATCH          = HRESULT($C00D1BAD);
  12436.   {$EXTERNALSYM NS_E_SMPTEMODE_MISMATCH}
  12437.  
  12438. //
  12439. // MessageId: NS_E_END_OF_TAPE
  12440. //
  12441. // MessageText:
  12442. //
  12443. //  Either the end of the tape has been reached or there is no tape. Check the device and tape.%0
  12444. //
  12445.   NS_E_END_OF_TAPE                 = HRESULT($C00D1BAE);
  12446.   {$EXTERNALSYM NS_E_END_OF_TAPE}
  12447.  
  12448. //
  12449. // MessageId: NS_E_NO_MEDIA_IN_AUDIENCE
  12450. //
  12451. // MessageText:
  12452. //
  12453. //  No audio or video input has been specified.%0
  12454. //
  12455.   NS_E_NO_MEDIA_IN_AUDIENCE        = HRESULT($C00D1BAF);
  12456.   {$EXTERNALSYM NS_E_NO_MEDIA_IN_AUDIENCE}
  12457.  
  12458. //
  12459. // MessageId: NS_E_NO_AUDIENCES
  12460. //
  12461. // MessageText:
  12462. //
  12463. //  The profile must contain a bit rate.%0
  12464. //
  12465.   NS_E_NO_AUDIENCES                = HRESULT($C00D1BB0);
  12466.   {$EXTERNALSYM NS_E_NO_AUDIENCES}
  12467.  
  12468. //
  12469. // MessageId: NS_E_NO_AUDIO_COMPAT
  12470. //
  12471. // MessageText:
  12472. //
  12473. //  You must specify at least one audio stream to be compatible with Windows Media Player 7.1.%0
  12474. //
  12475.   NS_E_NO_AUDIO_COMPAT             = HRESULT($C00D1BB1);
  12476.   {$EXTERNALSYM NS_E_NO_AUDIO_COMPAT}
  12477.  
  12478. //
  12479. // MessageId: NS_E_INVALID_VBR_COMPAT
  12480. //
  12481. // MessageText:
  12482. //
  12483. //  Using a VBR encoding mode is not compatible with Windows Media Player 7.1.%0
  12484. //
  12485.   NS_E_INVALID_VBR_COMPAT          = HRESULT($C00D1BB2);
  12486.   {$EXTERNALSYM NS_E_INVALID_VBR_COMPAT}
  12487.  
  12488. //
  12489. // MessageId: NS_E_NO_PROFILE_NAME
  12490. //
  12491. // MessageText:
  12492. //
  12493. //  You must specify a profile name.%0
  12494. //
  12495.   NS_E_NO_PROFILE_NAME             = HRESULT($C00D1BB3);
  12496.   {$EXTERNALSYM NS_E_NO_PROFILE_NAME}
  12497.  
  12498. //
  12499. // MessageId: NS_E_INVALID_VBR_WITH_UNCOMP
  12500. //
  12501. // MessageText:
  12502. //
  12503. //  It is not possible to use a VBR encoding mode with uncompressed audio or video.%0
  12504. //
  12505.   NS_E_INVALID_VBR_WITH_UNCOMP     = HRESULT($C00D1BB4);
  12506.   {$EXTERNALSYM NS_E_INVALID_VBR_WITH_UNCOMP}
  12507.  
  12508. //
  12509. // MessageId: NS_E_MULTIPLE_VBR_AUDIENCES
  12510. //
  12511. // MessageText:
  12512. //
  12513. //  It is not possible to use MBR encoding with VBR encoding.%0
  12514. //
  12515.   NS_E_MULTIPLE_VBR_AUDIENCES      = HRESULT($C00D1BB5);
  12516.   {$EXTERNALSYM NS_E_MULTIPLE_VBR_AUDIENCES}
  12517.  
  12518. //
  12519. // MessageId: NS_E_UNCOMP_COMP_COMBINATION
  12520. //
  12521. // MessageText:
  12522. //
  12523. //  It is not possible to mix uncompressed and compressed content in a session.%0
  12524. //
  12525.   NS_E_UNCOMP_COMP_COMBINATION     = HRESULT($C00D1BB6);
  12526.   {$EXTERNALSYM NS_E_UNCOMP_COMP_COMBINATION}
  12527.  
  12528. //
  12529. // MessageId: NS_E_MULTIPLE_AUDIO_CODECS
  12530. //
  12531. // MessageText:
  12532. //
  12533. //  All audiences must use the same audio codec.%0
  12534. //
  12535.   NS_E_MULTIPLE_AUDIO_CODECS       = HRESULT($C00D1BB7);
  12536.   {$EXTERNALSYM NS_E_MULTIPLE_AUDIO_CODECS}
  12537.  
  12538. //
  12539. // MessageId: NS_E_MULTIPLE_AUDIO_FORMATS
  12540. //
  12541. // MessageText:
  12542. //
  12543. //  All audiences should use the same audio format to be compatible with Windows Media Player 7.1.%0
  12544. //
  12545.   NS_E_MULTIPLE_AUDIO_FORMATS      = HRESULT($C00D1BB8);
  12546.   {$EXTERNALSYM NS_E_MULTIPLE_AUDIO_FORMATS}
  12547.  
  12548. //
  12549. // MessageId: NS_E_AUDIO_BITRATE_STEPDOWN
  12550. //
  12551. // MessageText:
  12552. //
  12553. //  The audio bit rate for an audience with a higher total bit rate must be greater than one with a lower total bit rate.%0
  12554. //
  12555.   NS_E_AUDIO_BITRATE_STEPDOWN      = HRESULT($C00D1BB9);
  12556.   {$EXTERNALSYM NS_E_AUDIO_BITRATE_STEPDOWN}
  12557.  
  12558. //
  12559. // MessageId: NS_E_INVALID_AUDIO_PEAKRATE
  12560. //
  12561. // MessageText:
  12562. //
  12563. //  The audio peak bit rate setting is not valid.%0
  12564. //
  12565.   NS_E_INVALID_AUDIO_PEAKRATE      = HRESULT($C00D1BBA);
  12566.   {$EXTERNALSYM NS_E_INVALID_AUDIO_PEAKRATE}
  12567.  
  12568. //
  12569. // MessageId: NS_E_INVALID_AUDIO_PEAKRATE_2
  12570. //
  12571. // MessageText:
  12572. //
  12573. //  The audio peak bit rate setting must be greater than the audio bit rate setting.%0
  12574. //
  12575.   NS_E_INVALID_AUDIO_PEAKRATE_2    = HRESULT($C00D1BBB);
  12576.   {$EXTERNALSYM NS_E_INVALID_AUDIO_PEAKRATE_2}
  12577.  
  12578. //
  12579. // MessageId: NS_E_INVALID_AUDIO_BUFFERMAX
  12580. //
  12581. // MessageText:
  12582. //
  12583. //  The setting for the maximum buffer size for audio is not valid.%0
  12584. //
  12585.   NS_E_INVALID_AUDIO_BUFFERMAX     = HRESULT($C00D1BBC);
  12586.   {$EXTERNALSYM NS_E_INVALID_AUDIO_BUFFERMAX}
  12587.  
  12588. //
  12589. // MessageId: NS_E_MULTIPLE_VIDEO_CODECS
  12590. //
  12591. // MessageText:
  12592. //
  12593. //  All audiences must use the same video codec.%0
  12594. //
  12595.   NS_E_MULTIPLE_VIDEO_CODECS       = HRESULT($C00D1BBD);
  12596.   {$EXTERNALSYM NS_E_MULTIPLE_VIDEO_CODECS}
  12597.  
  12598. //
  12599. // MessageId: NS_E_MULTIPLE_VIDEO_SIZES
  12600. //
  12601. // MessageText:
  12602. //
  12603. //  All audiences should use the same video size to be compatible with Windows Media Player 7.1.%0
  12604. //
  12605.   NS_E_MULTIPLE_VIDEO_SIZES        = HRESULT($C00D1BBE);
  12606.   {$EXTERNALSYM NS_E_MULTIPLE_VIDEO_SIZES}
  12607.  
  12608. //
  12609. // MessageId: NS_E_INVALID_VIDEO_BITRATE
  12610. //
  12611. // MessageText:
  12612. //
  12613. //  The video bit rate setting is not valid.%0
  12614. //
  12615.   NS_E_INVALID_VIDEO_BITRATE       = HRESULT($C00D1BBF);
  12616.   {$EXTERNALSYM NS_E_INVALID_VIDEO_BITRATE}
  12617.  
  12618. //
  12619. // MessageId: NS_E_VIDEO_BITRATE_STEPDOWN
  12620. //
  12621. // MessageText:
  12622. //
  12623. //  The video bit rate for an audience with a higher total bit rate must be greater than one with a lower total bit rate.%0
  12624. //
  12625.   NS_E_VIDEO_BITRATE_STEPDOWN      = HRESULT($C00D1BC0);
  12626.   {$EXTERNALSYM NS_E_VIDEO_BITRATE_STEPDOWN}
  12627.  
  12628. //
  12629. // MessageId: NS_E_INVALID_VIDEO_PEAKRATE
  12630. //
  12631. // MessageText:
  12632. //
  12633. //  The video peak bit rate setting is not valid.%0
  12634. //
  12635.   NS_E_INVALID_VIDEO_PEAKRATE      = HRESULT($C00D1BC1);
  12636.   {$EXTERNALSYM NS_E_INVALID_VIDEO_PEAKRATE}
  12637.  
  12638. //
  12639. // MessageId: NS_E_INVALID_VIDEO_PEAKRATE_2
  12640. //
  12641. // MessageText:
  12642. //
  12643. //  The video peak bit rate setting must be greater than the video bit rate setting.%0
  12644. //
  12645.   NS_E_INVALID_VIDEO_PEAKRATE_2    = HRESULT($C00D1BC2);
  12646.   {$EXTERNALSYM NS_E_INVALID_VIDEO_PEAKRATE_2}
  12647.  
  12648. //
  12649. // MessageId: NS_E_INVALID_VIDEO_WIDTH
  12650. //
  12651. // MessageText:
  12652. //
  12653. //  The video width setting is not valid.%0
  12654. //
  12655.   NS_E_INVALID_VIDEO_WIDTH         = HRESULT($C00D1BC3);
  12656.   {$EXTERNALSYM NS_E_INVALID_VIDEO_WIDTH}
  12657.  
  12658. //
  12659. // MessageId: NS_E_INVALID_VIDEO_HEIGHT
  12660. //
  12661. // MessageText:
  12662. //
  12663. //  The video height setting is not valid.%0
  12664. //
  12665.   NS_E_INVALID_VIDEO_HEIGHT        = HRESULT($C00D1BC4);
  12666.   {$EXTERNALSYM NS_E_INVALID_VIDEO_HEIGHT}
  12667.  
  12668. //
  12669. // MessageId: NS_E_INVALID_VIDEO_FPS
  12670. //
  12671. // MessageText:
  12672. //
  12673. //  The video frame rate setting is not valid.%0
  12674. //
  12675.   NS_E_INVALID_VIDEO_FPS           = HRESULT($C00D1BC5);
  12676.   {$EXTERNALSYM NS_E_INVALID_VIDEO_FPS}
  12677.  
  12678. //
  12679. // MessageId: NS_E_INVALID_VIDEO_KEYFRAME
  12680. //
  12681. // MessageText:
  12682. //
  12683. //  The video key frame setting is not valid.%0
  12684. //
  12685.   NS_E_INVALID_VIDEO_KEYFRAME      = HRESULT($C00D1BC6);
  12686.   {$EXTERNALSYM NS_E_INVALID_VIDEO_KEYFRAME}
  12687.  
  12688. //
  12689. // MessageId: NS_E_INVALID_VIDEO_IQUALITY
  12690. //
  12691. // MessageText:
  12692. //
  12693. //  The video image quality setting is not valid.%0
  12694. //
  12695.   NS_E_INVALID_VIDEO_IQUALITY      = HRESULT($C00D1BC7);
  12696.   {$EXTERNALSYM NS_E_INVALID_VIDEO_IQUALITY}
  12697.  
  12698. //
  12699. // MessageId: NS_E_INVALID_VIDEO_CQUALITY
  12700. //
  12701. // MessageText:
  12702. //
  12703. //  The video codec quality setting is not valid.%0
  12704. //
  12705.   NS_E_INVALID_VIDEO_CQUALITY      = HRESULT($C00D1BC8);
  12706.   {$EXTERNALSYM NS_E_INVALID_VIDEO_CQUALITY}
  12707.  
  12708. //
  12709. // MessageId: NS_E_INVALID_VIDEO_BUFFER
  12710. //
  12711. // MessageText:
  12712. //
  12713. //  The video buffer setting is not valid.%0
  12714. //
  12715.   NS_E_INVALID_VIDEO_BUFFER        = HRESULT($C00D1BC9);
  12716.   {$EXTERNALSYM NS_E_INVALID_VIDEO_BUFFER}
  12717.  
  12718. //
  12719. // MessageId: NS_E_INVALID_VIDEO_BUFFERMAX
  12720. //
  12721. // MessageText:
  12722. //
  12723. //  The setting for the maximum buffer size for video is not valid.%0
  12724. //
  12725.   NS_E_INVALID_VIDEO_BUFFERMAX     = HRESULT($C00D1BCA);
  12726.   {$EXTERNALSYM NS_E_INVALID_VIDEO_BUFFERMAX}
  12727.  
  12728. //
  12729. // MessageId: NS_E_INVALID_VIDEO_BUFFERMAX_2
  12730. //
  12731. // MessageText:
  12732. //
  12733. //  The value of the video maximum buffer size setting must be greater than the video buffer size setting.%0
  12734. //
  12735.   NS_E_INVALID_VIDEO_BUFFERMAX_2   = HRESULT($C00D1BCB);
  12736.   {$EXTERNALSYM NS_E_INVALID_VIDEO_BUFFERMAX_2}
  12737.  
  12738. //
  12739. // MessageId: NS_E_INVALID_VIDEO_WIDTH_ALIGN
  12740. //
  12741. // MessageText:
  12742. //
  12743. //  The alignment of the video width is not valid.%0
  12744. //
  12745.   NS_E_INVALID_VIDEO_WIDTH_ALIGN   = HRESULT($C00D1BCC);
  12746.   {$EXTERNALSYM NS_E_INVALID_VIDEO_WIDTH_ALIGN}
  12747.  
  12748. //
  12749. // MessageId: NS_E_INVALID_VIDEO_HEIGHT_ALIGN
  12750. //
  12751. // MessageText:
  12752. //
  12753. //  The alignment of the video height is not valid.%0
  12754. //
  12755.   NS_E_INVALID_VIDEO_HEIGHT_ALIGN  = HRESULT($C00D1BCD);
  12756.   {$EXTERNALSYM NS_E_INVALID_VIDEO_HEIGHT_ALIGN}
  12757.  
  12758. //
  12759. // MessageId: NS_E_MULTIPLE_SCRIPT_BITRATES
  12760. //
  12761. // MessageText:
  12762. //
  12763. //  All bit rates must have the same script bit rate.%0
  12764. //
  12765.   NS_E_MULTIPLE_SCRIPT_BITRATES    = HRESULT($C00D1BCE);
  12766.   {$EXTERNALSYM NS_E_MULTIPLE_SCRIPT_BITRATES}
  12767.  
  12768. //
  12769. // MessageId: NS_E_INVALID_SCRIPT_BITRATE
  12770. //
  12771. // MessageText:
  12772. //
  12773. //  The script bit rate specified is not valid.%0
  12774. //
  12775.   NS_E_INVALID_SCRIPT_BITRATE      = HRESULT($C00D1BCF);
  12776.   {$EXTERNALSYM NS_E_INVALID_SCRIPT_BITRATE}
  12777.  
  12778. //
  12779. // MessageId: NS_E_MULTIPLE_FILE_BITRATES
  12780. //
  12781. // MessageText:
  12782. //
  12783. //  All bit rates must have the same file transfer bit rate.%0
  12784. //
  12785.   NS_E_MULTIPLE_FILE_BITRATES      = HRESULT($C00D1BD0);
  12786.   {$EXTERNALSYM NS_E_MULTIPLE_FILE_BITRATES}
  12787.  
  12788. //
  12789. // MessageId: NS_E_INVALID_FILE_BITRATE
  12790. //
  12791. // MessageText:
  12792. //
  12793. //  The file transfer bit rate is not valid.%0
  12794. //
  12795.   NS_E_INVALID_FILE_BITRATE        = HRESULT($C00D1BD1);
  12796.   {$EXTERNALSYM NS_E_INVALID_FILE_BITRATE}
  12797.  
  12798. //
  12799. // MessageId: NS_E_SAME_AS_INPUT_COMBINATION
  12800. //
  12801. // MessageText:
  12802. //
  12803. //  All audiences in a profile should either be same as input or have video width and height specified.%0
  12804. //
  12805.   NS_E_SAME_AS_INPUT_COMBINATION   = HRESULT($C00D1BD2);
  12806.   {$EXTERNALSYM NS_E_SAME_AS_INPUT_COMBINATION}
  12807.  
  12808. //
  12809. // MessageId: NS_E_SOURCE_CANNOT_LOOP
  12810. //
  12811. // MessageText:
  12812. //
  12813. //  This source type does not support looping.%0
  12814. //
  12815.   NS_E_SOURCE_CANNOT_LOOP          = HRESULT($C00D1BD3);
  12816.   {$EXTERNALSYM NS_E_SOURCE_CANNOT_LOOP}
  12817.  
  12818. //
  12819. // MessageId: NS_E_INVALID_FOLDDOWN_COEFFICIENTS
  12820. //
  12821. // MessageText:
  12822. //
  12823. //  The fold-down value needs to be between -144 and 0.%0
  12824. //
  12825.   NS_E_INVALID_FOLDDOWN_COEFFICIENTS = HRESULT($C00D1BD4);
  12826.   {$EXTERNALSYM NS_E_INVALID_FOLDDOWN_COEFFICIENTS}
  12827.  
  12828. //
  12829. // MessageId: NS_E_DRMPROFILE_NOTFOUND
  12830. //
  12831. // MessageText:
  12832. //
  12833. //  The specified DRM profile does not exist in the system.%0
  12834. //
  12835.   NS_E_DRMPROFILE_NOTFOUND         = HRESULT($C00D1BD5);
  12836.   {$EXTERNALSYM NS_E_DRMPROFILE_NOTFOUND}
  12837.  
  12838. //
  12839. // MessageId: NS_E_INVALID_TIMECODE
  12840. //
  12841. // MessageText:
  12842. //
  12843. //  The specified time code is not valid.%0
  12844. //
  12845.   NS_E_INVALID_TIMECODE            = HRESULT($C00D1BD6);
  12846.   {$EXTERNALSYM NS_E_INVALID_TIMECODE}
  12847.  
  12848. //
  12849. // MessageId: NS_E_NO_AUDIO_TIMECOMPRESSION
  12850. //
  12851. // MessageText:
  12852. //
  12853. //  It is not possible to apply time compression to a video-only session.%0
  12854. //
  12855.   NS_E_NO_AUDIO_TIMECOMPRESSION    = HRESULT($C00D1BD7);
  12856.   {$EXTERNALSYM NS_E_NO_AUDIO_TIMECOMPRESSION}
  12857.  
  12858. //
  12859. // MessageId: NS_E_NO_TWOPASS_TIMECOMPRESSION
  12860. //
  12861. // MessageText:
  12862. //
  12863. //  It is not possible to apply time compression to a session that is using two-pass encoding.%0
  12864. //
  12865.   NS_E_NO_TWOPASS_TIMECOMPRESSION  = HRESULT($C00D1BD8);
  12866.   {$EXTERNALSYM NS_E_NO_TWOPASS_TIMECOMPRESSION}
  12867.  
  12868. //
  12869. // MessageId: NS_E_TIMECODE_REQUIRES_VIDEOSTREAM
  12870. //
  12871. // MessageText:
  12872. //
  12873. //  It is not possible to generate a time code for an audio-only session.%0
  12874. //
  12875.   NS_E_TIMECODE_REQUIRES_VIDEOSTREAM = HRESULT($C00D1BD9);
  12876.   {$EXTERNALSYM NS_E_TIMECODE_REQUIRES_VIDEOSTREAM}
  12877.  
  12878. //
  12879. // MessageId: NS_E_NO_MBR_WITH_TIMECODE
  12880. //
  12881. // MessageText:
  12882. //
  12883. //  It is not possible to generate a time code when you are encoding content at multiple bit rates.%0
  12884. //
  12885.   NS_E_NO_MBR_WITH_TIMECODE        = HRESULT($C00D1BDA);
  12886.   {$EXTERNALSYM NS_E_NO_MBR_WITH_TIMECODE}
  12887.  
  12888. //
  12889. // MessageId: NS_E_INVALID_INTERLACEMODE
  12890. //
  12891. // MessageText:
  12892. //
  12893. //  The video codec selected does not support maintaining interlacing in video.%0
  12894. //
  12895.   NS_E_INVALID_INTERLACEMODE       = HRESULT($C00D1BDB);
  12896.   {$EXTERNALSYM NS_E_INVALID_INTERLACEMODE}
  12897.  
  12898. //
  12899. // MessageId: NS_E_INVALID_INTERLACE_COMPAT
  12900. //
  12901. // MessageText:
  12902. //
  12903. //  Maintaining interlacing in video is not compatible with Windows Media Player 7.1.%0
  12904. //
  12905.   NS_E_INVALID_INTERLACE_COMPAT    = HRESULT($C00D1BDC);
  12906.   {$EXTERNALSYM NS_E_INVALID_INTERLACE_COMPAT}
  12907.  
  12908. //
  12909. // MessageId: NS_E_INVALID_NONSQUAREPIXEL_COMPAT
  12910. //
  12911. // MessageText:
  12912. //
  12913. //  Allowing nonsquare pixel output is not compatible with Windows Media Player 7.1.%0
  12914. //
  12915.   NS_E_INVALID_NONSQUAREPIXEL_COMPAT = HRESULT($C00D1BDD);
  12916.   {$EXTERNALSYM NS_E_INVALID_NONSQUAREPIXEL_COMPAT}
  12917.  
  12918. //
  12919. // MessageId: NS_E_INVALID_SOURCE_WITH_DEVICE_CONTROL
  12920. //
  12921. // MessageText:
  12922. //
  12923. //  Only capture devices can be used with device control.%0
  12924. //
  12925.   NS_E_INVALID_SOURCE_WITH_DEVICE_CONTROL = HRESULT($C00D1BDE);
  12926.   {$EXTERNALSYM NS_E_INVALID_SOURCE_WITH_DEVICE_CONTROL}
  12927.  
  12928. //
  12929. // MessageId: NS_E_CANNOT_GENERATE_BROADCAST_INFO_FOR_QUALITYVBR
  12930. //
  12931. // MessageText:
  12932. //
  12933. //  It is not possible to generate the stream format file if you are using
  12934. //  quality-based VBR encoding for the audio or video stream. Instead use the
  12935. //  Windows Media file generated after
  12936. //  encoding to create the announcement file.%0
  12937. //
  12938.   NS_E_CANNOT_GENERATE_BROADCAST_INFO_FOR_QUALITYVBR = HRESULT($C00D1BDF);
  12939.   {$EXTERNALSYM NS_E_CANNOT_GENERATE_BROADCAST_INFO_FOR_QUALITYVBR}
  12940.  
  12941. //
  12942. // MessageId: NS_E_EXCEED_MAX_DRM_PROFILE_LIMIT
  12943. //
  12944. // MessageText:
  12945. //
  12946. //  It is not possible to create a DRM profile because the maximum number of profiles has been reached. You must delete some DRM profiles before creating new ones.%0
  12947. //
  12948.   NS_E_EXCEED_MAX_DRM_PROFILE_LIMIT = HRESULT($C00D1BE0);
  12949.   {$EXTERNALSYM NS_E_EXCEED_MAX_DRM_PROFILE_LIMIT}
  12950.  
  12951. //
  12952. // MessageId: NS_E_DEVICECONTROL_UNSTABLE
  12953. //
  12954. // MessageText:
  12955. //
  12956. //  The device is in an unstable state. Check that the device is functioning properly and a tape is in place.
  12957. //
  12958.   NS_E_DEVICECONTROL_UNSTABLE      = HRESULT($C00D1BE1);
  12959.   {$EXTERNALSYM NS_E_DEVICECONTROL_UNSTABLE}
  12960.  
  12961. //
  12962. // MessageId: NS_E_INVALID_PIXEL_ASPECT_RATIO
  12963. //
  12964. // MessageText:
  12965. //
  12966. //  The pixel aspect ratio value must be between 1 and 255.
  12967. //
  12968.   NS_E_INVALID_PIXEL_ASPECT_RATIO  = HRESULT($C00D1BE2);
  12969.   {$EXTERNALSYM NS_E_INVALID_PIXEL_ASPECT_RATIO}
  12970.  
  12971. //
  12972. // MessageId: NS_E_AUDIENCE__LANGUAGE_CONTENTTYPE_MISMATCH
  12973. //
  12974. // MessageText:
  12975. //
  12976. //  All streams with different languages in the same audience must have same properties.%0
  12977. //
  12978.   NS_E_AUDIENCE__LANGUAGE_CONTENTTYPE_MISMATCH = HRESULT($C00D1BE3);
  12979.   {$EXTERNALSYM NS_E_AUDIENCE__LANGUAGE_CONTENTTYPE_MISMATCH}
  12980.  
  12981. //
  12982. // MessageId: NS_E_INVALID_PROFILE_CONTENTTYPE
  12983. //
  12984. // MessageText:
  12985. //
  12986. //  The profile must contain at least one audio or video stream.%0
  12987. //
  12988.   NS_E_INVALID_PROFILE_CONTENTTYPE = HRESULT($C00D1BE4);
  12989.   {$EXTERNALSYM NS_E_INVALID_PROFILE_CONTENTTYPE}
  12990.  
  12991. //
  12992. // MessageId: NS_E_TRANSFORM_PLUGIN_NOT_FOUND
  12993. //
  12994. // MessageText:
  12995. //
  12996. //  The transform plug-in could not be found.%0
  12997. //
  12998.   NS_E_TRANSFORM_PLUGIN_NOT_FOUND  = HRESULT($C00D1BE5);
  12999.   {$EXTERNALSYM NS_E_TRANSFORM_PLUGIN_NOT_FOUND}
  13000.  
  13001. //
  13002. // MessageId: NS_E_TRANSFORM_PLUGIN_INVALID
  13003. //
  13004. // MessageText:
  13005. //
  13006. //  The transform plug-in is not valid. It may be damaged or you may not have the required permissions to access the plug-in.%0
  13007. //
  13008.   NS_E_TRANSFORM_PLUGIN_INVALID    = HRESULT($C00D1BE6);
  13009.   {$EXTERNALSYM NS_E_TRANSFORM_PLUGIN_INVALID}
  13010.  
  13011. //
  13012. // MessageId: NS_E_EDL_REQUIRED_FOR_DEVICE_MULTIPASS
  13013. //
  13014. // MessageText:
  13015. //
  13016. //  To use two-pass encoding, you must enable device control and setup an edit decision list (ED); that has at least one entry.%0
  13017. //
  13018.   NS_E_EDL_REQUIRED_FOR_DEVICE_MULTIPASS = HRESULT($C00D1BE7);
  13019.   {$EXTERNALSYM NS_E_EDL_REQUIRED_FOR_DEVICE_MULTIPASS}
  13020.  
  13021. //
  13022. // MessageId: NS_E_INVALID_VIDEO_WIDTH_FOR_INTERLACED_ENCODING
  13023. //
  13024. // MessageText:
  13025. //
  13026. //  When you choose to maintain the interlacing in your video, the output video size must be a multiple of 4.%0
  13027. //
  13028.   NS_E_INVALID_VIDEO_WIDTH_FOR_INTERLACED_ENCODING = HRESULT($C00D1BE8);
  13029.   {$EXTERNALSYM NS_E_INVALID_VIDEO_WIDTH_FOR_INTERLACED_ENCODING}
  13030.  
  13031.  
  13032. /////////////////////////////////////////////////////////////////////////
  13033. //
  13034. // DRM Specific Errors
  13035. //
  13036. // IdRange = 10000..10999
  13037. /////////////////////////////////////////////////////////////////////////
  13038. //
  13039. // MessageId: NS_E_DRM_INVALID_APPLICATION
  13040. //
  13041. // MessageText:
  13042. //
  13043. //  A problem has occurred in the Digital Rights Management component. Contact product support for this application.%0
  13044. //
  13045.   NS_E_DRM_INVALID_APPLICATION     = HRESULT($C00D2711);
  13046.   {$EXTERNALSYM NS_E_DRM_INVALID_APPLICATION}
  13047.  
  13048. //
  13049. // MessageId: NS_E_DRM_LICENSE_STORE_ERROR
  13050. //
  13051. // MessageText:
  13052. //
  13053. //  License storage is not working. Contact Microsoft product support.%0
  13054. //
  13055.   NS_E_DRM_LICENSE_STORE_ERROR     = HRESULT($C00D2712);
  13056.   {$EXTERNALSYM NS_E_DRM_LICENSE_STORE_ERROR}
  13057.  
  13058. //
  13059. // MessageId: NS_E_DRM_SECURE_STORE_ERROR
  13060. //
  13061. // MessageText:
  13062. //
  13063. //  Secure storage is not working. Contact Microsoft product support.%0
  13064. //
  13065.   NS_E_DRM_SECURE_STORE_ERROR      = HRESULT($C00D2713);
  13066.   {$EXTERNALSYM NS_E_DRM_SECURE_STORE_ERROR}
  13067.  
  13068. //
  13069. // MessageId: NS_E_DRM_LICENSE_STORE_SAVE_ERROR
  13070. //
  13071. // MessageText:
  13072. //
  13073. //  License acquisition did not work. Acquire a new license or contact the content provider for further assistance.%0
  13074. //
  13075.   NS_E_DRM_LICENSE_STORE_SAVE_ERROR = HRESULT($C00D2714);
  13076.   {$EXTERNALSYM NS_E_DRM_LICENSE_STORE_SAVE_ERROR}
  13077.  
  13078. //
  13079. // MessageId: NS_E_DRM_SECURE_STORE_UNLOCK_ERROR
  13080. //
  13081. // MessageText:
  13082. //
  13083. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0
  13084. //
  13085.   NS_E_DRM_SECURE_STORE_UNLOCK_ERROR = HRESULT($C00D2715);
  13086.   {$EXTERNALSYM NS_E_DRM_SECURE_STORE_UNLOCK_ERROR}
  13087.  
  13088. //
  13089. // MessageId: NS_E_DRM_INVALID_CONTENT
  13090. //
  13091. // MessageText:
  13092. //
  13093. //  The media file is corrupted. Contact the content provider to get a new file.%0
  13094. //
  13095.   NS_E_DRM_INVALID_CONTENT         = HRESULT($C00D2716);
  13096.   {$EXTERNALSYM NS_E_DRM_INVALID_CONTENT}
  13097.  
  13098. //
  13099. // MessageId: NS_E_DRM_UNABLE_TO_OPEN_LICENSE
  13100. //
  13101. // MessageText:
  13102. //
  13103. //  The license is corrupted. Acquire a new license.%0
  13104. //
  13105.   NS_E_DRM_UNABLE_TO_OPEN_LICENSE  = HRESULT($C00D2717);
  13106.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_OPEN_LICENSE}
  13107.  
  13108. //
  13109. // MessageId: NS_E_DRM_INVALID_LICENSE
  13110. //
  13111. // MessageText:
  13112. //
  13113. //  The license is corrupted or invalid. Acquire a new license%0
  13114. //
  13115.   NS_E_DRM_INVALID_LICENSE         = HRESULT($C00D2718);
  13116.   {$EXTERNALSYM NS_E_DRM_INVALID_LICENSE}
  13117.  
  13118. //
  13119. // MessageId: NS_E_DRM_INVALID_MACHINE
  13120. //
  13121. // MessageText:
  13122. //
  13123. //  Licenses cannot be copied from one computer to another. Use License Management to transfer licenses, or get a new license for the media file.%0
  13124. //
  13125.   NS_E_DRM_INVALID_MACHINE         = HRESULT($C00D2719);
  13126.   {$EXTERNALSYM NS_E_DRM_INVALID_MACHINE}
  13127.  
  13128. //
  13129. // MessageId: NS_E_DRM_ENUM_LICENSE_FAILED
  13130. //
  13131. // MessageText:
  13132. //
  13133. //  License storage is not working. Contact Microsoft product support.%0
  13134. //
  13135.   NS_E_DRM_ENUM_LICENSE_FAILED     = HRESULT($C00D271B);
  13136.   {$EXTERNALSYM NS_E_DRM_ENUM_LICENSE_FAILED}
  13137.  
  13138. //
  13139. // MessageId: NS_E_DRM_INVALID_LICENSE_REQUEST
  13140. //
  13141. // MessageText:
  13142. //
  13143. //  The media file is corrupted. Contact the content provider to get a new file.%0
  13144. //
  13145.   NS_E_DRM_INVALID_LICENSE_REQUEST = HRESULT($C00D271C);
  13146.   {$EXTERNALSYM NS_E_DRM_INVALID_LICENSE_REQUEST}
  13147.  
  13148. //
  13149. // MessageId: NS_E_DRM_UNABLE_TO_INITIALIZE
  13150. //
  13151. // MessageText:
  13152. //
  13153. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0
  13154. //
  13155.   NS_E_DRM_UNABLE_TO_INITIALIZE    = HRESULT($C00D271D);
  13156.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_INITIALIZE}
  13157.  
  13158. //
  13159. // MessageId: NS_E_DRM_UNABLE_TO_ACQUIRE_LICENSE
  13160. //
  13161. // MessageText:
  13162. //
  13163. //  The license could not be acquired. Try again later.%0
  13164. //
  13165.   NS_E_DRM_UNABLE_TO_ACQUIRE_LICENSE = HRESULT($C00D271E);
  13166.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_ACQUIRE_LICENSE}
  13167.  
  13168. //
  13169. // MessageId: NS_E_DRM_INVALID_LICENSE_ACQUIRED
  13170. //
  13171. // MessageText:
  13172. //
  13173. //  License acquisition did not work. Acquire a new license or contact the content provider for further assistance.%0
  13174. //
  13175.   NS_E_DRM_INVALID_LICENSE_ACQUIRED = HRESULT($C00D271F);
  13176.   {$EXTERNALSYM NS_E_DRM_INVALID_LICENSE_ACQUIRED}
  13177.  
  13178. //
  13179. // MessageId: NS_E_DRM_NO_RIGHTS
  13180. //
  13181. // MessageText:
  13182. //
  13183. //  The requested operation cannot be performed on this file.%0
  13184. //
  13185.   NS_E_DRM_NO_RIGHTS               = HRESULT($C00D2720);
  13186.   {$EXTERNALSYM NS_E_DRM_NO_RIGHTS}
  13187.  
  13188. //
  13189. // MessageId: NS_E_DRM_KEY_ERROR
  13190. //
  13191. // MessageText:
  13192. //
  13193. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13194. //
  13195.   NS_E_DRM_KEY_ERROR               = HRESULT($C00D2721);
  13196.   {$EXTERNALSYM NS_E_DRM_KEY_ERROR}
  13197.  
  13198. //
  13199. // MessageId: NS_E_DRM_ENCRYPT_ERROR
  13200. //
  13201. // MessageText:
  13202. //
  13203. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0
  13204. //
  13205.   NS_E_DRM_ENCRYPT_ERROR           = HRESULT($C00D2722);
  13206.   {$EXTERNALSYM NS_E_DRM_ENCRYPT_ERROR}
  13207.  
  13208. //
  13209. // MessageId: NS_E_DRM_DECRYPT_ERROR
  13210. //
  13211. // MessageText:
  13212. //
  13213. //  The media file is corrupted. Contact the content provider to get a new file.%0
  13214. //
  13215.   NS_E_DRM_DECRYPT_ERROR           = HRESULT($C00D2723);
  13216.   {$EXTERNALSYM NS_E_DRM_DECRYPT_ERROR}
  13217.  
  13218. //
  13219. // MessageId: NS_E_DRM_LICENSE_INVALID_XML
  13220. //
  13221. // MessageText:
  13222. //
  13223. //  The license is corrupted. Acquire a new license.%0
  13224. //
  13225.   NS_E_DRM_LICENSE_INVALID_XML     = HRESULT($C00D2725);
  13226.   {$EXTERNALSYM NS_E_DRM_LICENSE_INVALID_XML}
  13227.  
  13228. //
  13229. // MessageId: NS_S_DRM_LICENSE_ACQUIRED
  13230. //
  13231. // MessageText:
  13232. //
  13233. //  Status message: The license was acquired.%0
  13234. //
  13235.   NS_S_DRM_LICENSE_ACQUIRED        = HRESULT($000D2726);
  13236.   {$EXTERNALSYM NS_S_DRM_LICENSE_ACQUIRED}
  13237.  
  13238. //
  13239. // MessageId: NS_S_DRM_INDIVIDUALIZED
  13240. //
  13241. // MessageText:
  13242. //
  13243. //  Status message: The security upgrade has been completed.%0
  13244. //
  13245.   NS_S_DRM_INDIVIDUALIZED          = HRESULT($000D2727);
  13246.   {$EXTERNALSYM NS_S_DRM_INDIVIDUALIZED}
  13247.  
  13248. //
  13249. // MessageId: NS_E_DRM_NEEDS_INDIVIDUALIZATION
  13250. //
  13251. // MessageText:
  13252. //
  13253. //  A security upgrade is required to perform the operation on this media file.%0
  13254. //
  13255.   NS_E_DRM_NEEDS_INDIVIDUALIZATION = HRESULT($C00D2728);
  13256.   {$EXTERNALSYM NS_E_DRM_NEEDS_INDIVIDUALIZATION}
  13257.  
  13258. //
  13259. // MessageId: NS_E_DRM_ALREADY_INDIVIDUALIZED
  13260. //
  13261. // MessageText:
  13262. //
  13263. //  You already have the latest security components. No upgrade is necessary at this time.%0
  13264. //
  13265.   NS_E_DRM_ALREADY_INDIVIDUALIZED  = HRESULT($C00D2729);
  13266.   {$EXTERNALSYM NS_E_DRM_ALREADY_INDIVIDUALIZED}
  13267.  
  13268. //
  13269. // MessageId: NS_E_DRM_ACTION_NOT_QUERIED
  13270. //
  13271. // MessageText:
  13272. //
  13273. //  The application cannot perform this action. Contact product support for this application.%0
  13274. //
  13275.   NS_E_DRM_ACTION_NOT_QUERIED      = HRESULT($C00D272A);
  13276.   {$EXTERNALSYM NS_E_DRM_ACTION_NOT_QUERIED}
  13277.  
  13278. //
  13279. // MessageId: NS_E_DRM_ACQUIRING_LICENSE
  13280. //
  13281. // MessageText:
  13282. //
  13283. //  You cannot begin a new license acquisition process until the current one has been completed.%0
  13284. //
  13285.   NS_E_DRM_ACQUIRING_LICENSE       = HRESULT($C00D272B);
  13286.   {$EXTERNALSYM NS_E_DRM_ACQUIRING_LICENSE}
  13287.  
  13288. //
  13289. // MessageId: NS_E_DRM_INDIVIDUALIZING
  13290. //
  13291. // MessageText:
  13292. //
  13293. //  You cannot begin a new security upgrade until the current one has been completed.%0
  13294. //
  13295.   NS_E_DRM_INDIVIDUALIZING         = HRESULT($C00D272C);
  13296.   {$EXTERNALSYM NS_E_DRM_INDIVIDUALIZING}
  13297.  
  13298. //
  13299. // MessageId: NS_E_DRM_PARAMETERS_MISMATCHED
  13300. //
  13301. // MessageText:
  13302. //
  13303. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13304. //
  13305.   NS_E_DRM_PARAMETERS_MISMATCHED   = HRESULT($C00D272F);
  13306.   {$EXTERNALSYM NS_E_DRM_PARAMETERS_MISMATCHED}
  13307.  
  13308. //
  13309. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_LICENSE_OBJECT
  13310. //
  13311. // MessageText:
  13312. //
  13313. //  A license cannot be created for this media file. Reinstall the application.%0
  13314. //
  13315.   NS_E_DRM_UNABLE_TO_CREATE_LICENSE_OBJECT = HRESULT($C00D2730);
  13316.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_LICENSE_OBJECT}
  13317.  
  13318. //
  13319. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_INDI_OBJECT
  13320. //
  13321. // MessageText:
  13322. //
  13323. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13324. //
  13325.   NS_E_DRM_UNABLE_TO_CREATE_INDI_OBJECT = HRESULT($C00D2731);
  13326.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_INDI_OBJECT}
  13327.  
  13328. //
  13329. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_ENCRYPT_OBJECT
  13330. //
  13331. // MessageText:
  13332. //
  13333. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13334. //
  13335.   NS_E_DRM_UNABLE_TO_CREATE_ENCRYPT_OBJECT = HRESULT($C00D2732);
  13336.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_ENCRYPT_OBJECT}
  13337.  
  13338. //
  13339. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_DECRYPT_OBJECT
  13340. //
  13341. // MessageText:
  13342. //
  13343. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13344. //
  13345.   NS_E_DRM_UNABLE_TO_CREATE_DECRYPT_OBJECT = HRESULT($C00D2733);
  13346.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_DECRYPT_OBJECT}
  13347.  
  13348. //
  13349. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_PROPERTIES_OBJECT
  13350. //
  13351. // MessageText:
  13352. //
  13353. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13354. //
  13355.   NS_E_DRM_UNABLE_TO_CREATE_PROPERTIES_OBJECT = HRESULT($C00D2734);
  13356.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_PROPERTIES_OBJECT}
  13357.  
  13358. //
  13359. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_BACKUP_OBJECT
  13360. //
  13361. // MessageText:
  13362. //
  13363. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13364. //
  13365.   NS_E_DRM_UNABLE_TO_CREATE_BACKUP_OBJECT = HRESULT($C00D2735);
  13366.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_BACKUP_OBJECT}
  13367.  
  13368. //
  13369. // MessageId: NS_E_DRM_INDIVIDUALIZE_ERROR
  13370. //
  13371. // MessageText:
  13372. //
  13373. //  The security upgrade failed. Try again later.%0
  13374. //
  13375.   NS_E_DRM_INDIVIDUALIZE_ERROR     = HRESULT($C00D2736);
  13376.   {$EXTERNALSYM NS_E_DRM_INDIVIDUALIZE_ERROR}
  13377.  
  13378. //
  13379. // MessageId: NS_E_DRM_LICENSE_OPEN_ERROR
  13380. //
  13381. // MessageText:
  13382. //
  13383. //  License storage is not working. Contact Microsoft product support.%0
  13384. //
  13385.   NS_E_DRM_LICENSE_OPEN_ERROR      = HRESULT($C00D2737);
  13386.   {$EXTERNALSYM NS_E_DRM_LICENSE_OPEN_ERROR}
  13387.  
  13388. //
  13389. // MessageId: NS_E_DRM_LICENSE_CLOSE_ERROR
  13390. //
  13391. // MessageText:
  13392. //
  13393. //  License storage is not working. Contact Microsoft product support.%0
  13394. //
  13395.   NS_E_DRM_LICENSE_CLOSE_ERROR     = HRESULT($C00D2738);
  13396.   {$EXTERNALSYM NS_E_DRM_LICENSE_CLOSE_ERROR}
  13397.  
  13398. //
  13399. // MessageId: NS_E_DRM_GET_LICENSE_ERROR
  13400. //
  13401. // MessageText:
  13402. //
  13403. //  License storage is not working. Contact Microsoft product support.%0
  13404. //
  13405.   NS_E_DRM_GET_LICENSE_ERROR       = HRESULT($C00D2739);
  13406.   {$EXTERNALSYM NS_E_DRM_GET_LICENSE_ERROR}
  13407.  
  13408. //
  13409. // MessageId: NS_E_DRM_QUERY_ERROR
  13410. //
  13411. // MessageText:
  13412. //
  13413. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13414. //
  13415.   NS_E_DRM_QUERY_ERROR             = HRESULT($C00D273A);
  13416.   {$EXTERNALSYM NS_E_DRM_QUERY_ERROR}
  13417.  
  13418. //
  13419. // MessageId: NS_E_DRM_REPORT_ERROR
  13420. //
  13421. // MessageText:
  13422. //
  13423. //  A problem has occurred in the Digital Rights Management component. Contact product support for this application.%0
  13424. //
  13425.   NS_E_DRM_REPORT_ERROR            = HRESULT($C00D273B);
  13426.   {$EXTERNALSYM NS_E_DRM_REPORT_ERROR}
  13427.  
  13428. //
  13429. // MessageId: NS_E_DRM_GET_LICENSESTRING_ERROR
  13430. //
  13431. // MessageText:
  13432. //
  13433. //  License storage is not working. Contact Microsoft product support.%0
  13434. //
  13435.   NS_E_DRM_GET_LICENSESTRING_ERROR = HRESULT($C00D273C);
  13436.   {$EXTERNALSYM NS_E_DRM_GET_LICENSESTRING_ERROR}
  13437.  
  13438. //
  13439. // MessageId: NS_E_DRM_GET_CONTENTSTRING_ERROR
  13440. //
  13441. // MessageText:
  13442. //
  13443. //  The media file is corrupted. Contact the content provider to get a new file.%0
  13444. //
  13445.   NS_E_DRM_GET_CONTENTSTRING_ERROR = HRESULT($C00D273D);
  13446.   {$EXTERNALSYM NS_E_DRM_GET_CONTENTSTRING_ERROR}
  13447.  
  13448. //
  13449. // MessageId: NS_E_DRM_MONITOR_ERROR
  13450. //
  13451. // MessageText:
  13452. //
  13453. //  A problem has occurred in the Digital Rights Management component. Try again later.%0
  13454. //
  13455.   NS_E_DRM_MONITOR_ERROR           = HRESULT($C00D273E);
  13456.   {$EXTERNALSYM NS_E_DRM_MONITOR_ERROR}
  13457.  
  13458. //
  13459. // MessageId: NS_E_DRM_UNABLE_TO_SET_PARAMETER
  13460. //
  13461. // MessageText:
  13462. //
  13463. //  The application has made an invalid call to the Digital Rights Management component. Contact product support for this application.%0
  13464. //
  13465.   NS_E_DRM_UNABLE_TO_SET_PARAMETER = HRESULT($C00D273F);
  13466.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_SET_PARAMETER}
  13467.  
  13468. //
  13469. // MessageId: NS_E_DRM_INVALID_APPDATA
  13470. //
  13471. // MessageText:
  13472. //
  13473. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13474. //
  13475.   NS_E_DRM_INVALID_APPDATA         = HRESULT($C00D2740);
  13476.   {$EXTERNALSYM NS_E_DRM_INVALID_APPDATA}
  13477.  
  13478. //
  13479. // MessageId: NS_E_DRM_INVALID_APPDATA_VERSION
  13480. //
  13481. // MessageText:
  13482. //
  13483. //  A problem has occurred in the Digital Rights Management component. Contact product support for this application.%0.
  13484. //
  13485.   NS_E_DRM_INVALID_APPDATA_VERSION = HRESULT($C00D2741);
  13486.   {$EXTERNALSYM NS_E_DRM_INVALID_APPDATA_VERSION}
  13487.  
  13488. //
  13489. // MessageId: NS_E_DRM_BACKUP_EXISTS
  13490. //
  13491. // MessageText:
  13492. //
  13493. //  Licenses are already backed up in this location.%0
  13494. //
  13495.   NS_E_DRM_BACKUP_EXISTS           = HRESULT($C00D2742);
  13496.   {$EXTERNALSYM NS_E_DRM_BACKUP_EXISTS}
  13497.  
  13498. //
  13499. // MessageId: NS_E_DRM_BACKUP_CORRUPT
  13500. //
  13501. // MessageText:
  13502. //
  13503. //  One or more backed-up licenses are missing or corrupt.%0
  13504. //
  13505.   NS_E_DRM_BACKUP_CORRUPT          = HRESULT($C00D2743);
  13506.   {$EXTERNALSYM NS_E_DRM_BACKUP_CORRUPT}
  13507.  
  13508. //
  13509. // MessageId: NS_E_DRM_BACKUPRESTORE_BUSY
  13510. //
  13511. // MessageText:
  13512. //
  13513. //  You cannot begin a new backup process until the current process has been completed.%0
  13514. //
  13515.   NS_E_DRM_BACKUPRESTORE_BUSY      = HRESULT($C00D2744);
  13516.   {$EXTERNALSYM NS_E_DRM_BACKUPRESTORE_BUSY}
  13517.  
  13518. //
  13519. // MessageId: NS_S_DRM_MONITOR_CANCELLED
  13520. //
  13521. // MessageText:
  13522. //
  13523. //  Status message: License monitoring has been cancelled.%0
  13524. //
  13525.   NS_S_DRM_MONITOR_CANCELLED       = HRESULT($000D2746);
  13526.   {$EXTERNALSYM NS_S_DRM_MONITOR_CANCELLED}
  13527.  
  13528. //
  13529. // MessageId: NS_S_DRM_ACQUIRE_CANCELLED
  13530. //
  13531. // MessageText:
  13532. //
  13533. //  Status message: License acquisition has been cancelled.%0
  13534. //
  13535.   NS_S_DRM_ACQUIRE_CANCELLED       = HRESULT($000D2747);
  13536.   {$EXTERNALSYM NS_S_DRM_ACQUIRE_CANCELLED}
  13537.  
  13538. //
  13539. // MessageId: NS_E_DRM_LICENSE_UNUSABLE
  13540. //
  13541. // MessageText:
  13542. //
  13543. //  The license is invalid. Contact the content provider for further assistance.%0
  13544. //
  13545.   NS_E_DRM_LICENSE_UNUSABLE        = HRESULT($C00D2748);
  13546.   {$EXTERNALSYM NS_E_DRM_LICENSE_UNUSABLE}
  13547.  
  13548. //
  13549. // MessageId: NS_E_DRM_INVALID_PROPERTY
  13550. //
  13551. // MessageText:
  13552. //
  13553. //  A required property was not set by the application. Contact product support for this application.%0.
  13554. //
  13555.   NS_E_DRM_INVALID_PROPERTY        = HRESULT($C00D2749);
  13556.   {$EXTERNALSYM NS_E_DRM_INVALID_PROPERTY}
  13557.  
  13558. //
  13559. // MessageId: NS_E_DRM_SECURE_STORE_NOT_FOUND
  13560. //
  13561. // MessageText:
  13562. //
  13563. //  A problem has occurred in the Digital Rights Management component of this application. Try to acquire a license again.%0
  13564. //
  13565.   NS_E_DRM_SECURE_STORE_NOT_FOUND  = HRESULT($C00D274A);
  13566.   {$EXTERNALSYM NS_E_DRM_SECURE_STORE_NOT_FOUND}
  13567.  
  13568. //
  13569. // MessageId: NS_E_DRM_CACHED_CONTENT_ERROR
  13570. //
  13571. // MessageText:
  13572. //
  13573. //  A license cannot be found for this media file. Use License Management to transfer a license for this file from the original computer, or acquire a new license.%0
  13574. //
  13575.   NS_E_DRM_CACHED_CONTENT_ERROR    = HRESULT($C00D274B);
  13576.   {$EXTERNALSYM NS_E_DRM_CACHED_CONTENT_ERROR}
  13577.  
  13578. //
  13579. // MessageId: NS_E_DRM_INDIVIDUALIZATION_INCOMPLETE
  13580. //
  13581. // MessageText:
  13582. //
  13583. //  A problem occurred during the security upgrade. Try again later.%0
  13584. //
  13585.   NS_E_DRM_INDIVIDUALIZATION_INCOMPLETE = HRESULT($C00D274C);
  13586.   {$EXTERNALSYM NS_E_DRM_INDIVIDUALIZATION_INCOMPLETE}
  13587.  
  13588. //
  13589. // MessageId: NS_E_DRM_DRIVER_AUTH_FAILURE
  13590. //
  13591. // MessageText:
  13592. //
  13593. //  Certified driver components are required to play this media file. Contact Windows Update to see whether updated drivers are available for your hardware.%0
  13594. //
  13595.   NS_E_DRM_DRIVER_AUTH_FAILURE     = HRESULT($C00D274D);
  13596.   {$EXTERNALSYM NS_E_DRM_DRIVER_AUTH_FAILURE}
  13597.  
  13598. //
  13599. // MessageId: NS_E_DRM_NEED_UPGRADE_MSSAP
  13600. //
  13601. // MessageText:
  13602. //
  13603. //  One or more of the Secure Audio Path components were not found or an entry point in those components was not found.%0
  13604. //
  13605.   NS_E_DRM_NEED_UPGRADE_MSSAP      = HRESULT($C00D274E);
  13606.   {$EXTERNALSYM NS_E_DRM_NEED_UPGRADE_MSSAP}
  13607.  
  13608. //
  13609. // MessageId: NS_E_DRM_REOPEN_CONTENT
  13610. //
  13611. // MessageText:
  13612. //
  13613. //  Status message: Reopen the file.%0
  13614. //
  13615.   NS_E_DRM_REOPEN_CONTENT          = HRESULT($C00D274F);
  13616.   {$EXTERNALSYM NS_E_DRM_REOPEN_CONTENT}
  13617.  
  13618. //
  13619. // MessageId: NS_E_DRM_DRIVER_DIGIOUT_FAILURE
  13620. //
  13621. // MessageText:
  13622. //
  13623. //  Certain driver functionality is required to play this media file. Contact Windows Update to see whether updated drivers are available for your hardware.%0
  13624. //
  13625.   NS_E_DRM_DRIVER_DIGIOUT_FAILURE  = HRESULT($C00D2750);
  13626.   {$EXTERNALSYM NS_E_DRM_DRIVER_DIGIOUT_FAILURE}
  13627.  
  13628. //
  13629. // MessageId: NS_E_DRM_INVALID_SECURESTORE_PASSWORD
  13630. //
  13631. // MessageText:
  13632. //
  13633. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13634. //
  13635.   NS_E_DRM_INVALID_SECURESTORE_PASSWORD = HRESULT($C00D2751);
  13636.   {$EXTERNALSYM NS_E_DRM_INVALID_SECURESTORE_PASSWORD}
  13637.  
  13638. //
  13639. // MessageId: NS_E_DRM_APPCERT_REVOKED
  13640. //
  13641. // MessageText:
  13642. //
  13643. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13644. //
  13645.   NS_E_DRM_APPCERT_REVOKED         = HRESULT($C00D2752);
  13646.   {$EXTERNALSYM NS_E_DRM_APPCERT_REVOKED}
  13647.  
  13648. //
  13649. // MessageId: NS_E_DRM_RESTORE_FRAUD
  13650. //
  13651. // MessageText:
  13652. //
  13653. //  You cannot restore your license(s).%0
  13654. //
  13655.   NS_E_DRM_RESTORE_FRAUD           = HRESULT($C00D2753);
  13656.   {$EXTERNALSYM NS_E_DRM_RESTORE_FRAUD}
  13657.  
  13658. //
  13659. // MessageId: NS_E_DRM_HARDWARE_INCONSISTENT
  13660. //
  13661. // MessageText:
  13662. //
  13663. //  The licenses for your media files are corrupted. Contact Microsoft product support.%0
  13664. //
  13665.   NS_E_DRM_HARDWARE_INCONSISTENT   = HRESULT($C00D2754);
  13666.   {$EXTERNALSYM NS_E_DRM_HARDWARE_INCONSISTENT}
  13667.  
  13668. //
  13669. // MessageId: NS_E_DRM_SDMI_TRIGGER
  13670. //
  13671. // MessageText:
  13672. //
  13673. //  To transfer this media file, you must upgrade the application.%0
  13674. //
  13675.   NS_E_DRM_SDMI_TRIGGER            = HRESULT($C00D2755);
  13676.   {$EXTERNALSYM NS_E_DRM_SDMI_TRIGGER}
  13677.  
  13678. //
  13679. // MessageId: NS_E_DRM_SDMI_NOMORECOPIES
  13680. //
  13681. // MessageText:
  13682. //
  13683. //  You cannot make any more copies of this media file.%0
  13684. //
  13685.   NS_E_DRM_SDMI_NOMORECOPIES       = HRESULT($C00D2756);
  13686.   {$EXTERNALSYM NS_E_DRM_SDMI_NOMORECOPIES}
  13687.  
  13688. //
  13689. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_HEADER_OBJECT
  13690. //
  13691. // MessageText:
  13692. //
  13693. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13694. //
  13695.   NS_E_DRM_UNABLE_TO_CREATE_HEADER_OBJECT = HRESULT($C00D2757);
  13696.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_HEADER_OBJECT}
  13697.  
  13698. //
  13699. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_KEYS_OBJECT
  13700. //
  13701. // MessageText:
  13702. //
  13703. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13704. //
  13705.   NS_E_DRM_UNABLE_TO_CREATE_KEYS_OBJECT = HRESULT($C00D2758);
  13706.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_KEYS_OBJECT}
  13707.  
  13708. // This error is never shown to user but needed for program logic.
  13709. //
  13710. // MessageId: NS_E_DRM_LICENSE_NOTACQUIRED
  13711. //
  13712. // MessageText:
  13713. //
  13714. //  Unable to obtain license.%0
  13715. //
  13716.   NS_E_DRM_LICENSE_NOTACQUIRED     = HRESULT($C00D2759);
  13717.   {$EXTERNALSYM NS_E_DRM_LICENSE_NOTACQUIRED}
  13718.  
  13719. //
  13720. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_CODING_OBJECT
  13721. //
  13722. // MessageText:
  13723. //
  13724. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13725. //
  13726.   NS_E_DRM_UNABLE_TO_CREATE_CODING_OBJECT = HRESULT($C00D275A);
  13727.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_CODING_OBJECT}
  13728.  
  13729. //
  13730. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_STATE_DATA_OBJECT
  13731. //
  13732. // MessageText:
  13733. //
  13734. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13735. //
  13736.   NS_E_DRM_UNABLE_TO_CREATE_STATE_DATA_OBJECT = HRESULT($C00D275B);
  13737.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_STATE_DATA_OBJECT}
  13738.  
  13739. //
  13740. // MessageId: NS_E_DRM_BUFFER_TOO_SMALL
  13741. //
  13742. // MessageText:
  13743. //
  13744. //  The buffer supplied is not sufficient.%0.
  13745. //
  13746.   NS_E_DRM_BUFFER_TOO_SMALL        = HRESULT($C00D275C);
  13747.   {$EXTERNALSYM NS_E_DRM_BUFFER_TOO_SMALL}
  13748.  
  13749. //
  13750. // MessageId: NS_E_DRM_UNSUPPORTED_PROPERTY
  13751. //
  13752. // MessageText:
  13753. //
  13754. //  The property requested is not supported.%0.
  13755. //
  13756.   NS_E_DRM_UNSUPPORTED_PROPERTY    = HRESULT($C00D275D);
  13757.   {$EXTERNALSYM NS_E_DRM_UNSUPPORTED_PROPERTY}
  13758.  
  13759. //
  13760. // MessageId: NS_E_DRM_ERROR_BAD_NET_RESP
  13761. //
  13762. // MessageText:
  13763. //
  13764. //  The specified server cannot perform the requested operation.%0.
  13765. //
  13766.   NS_E_DRM_ERROR_BAD_NET_RESP      = HRESULT($C00D275E);
  13767.   {$EXTERNALSYM NS_E_DRM_ERROR_BAD_NET_RESP}
  13768.  
  13769. //
  13770. // MessageId: NS_E_DRM_STORE_NOTALLSTORED
  13771. //
  13772. // MessageText:
  13773. //
  13774. //  Some of the licenses could not be stored.%0.
  13775. //
  13776.   NS_E_DRM_STORE_NOTALLSTORED      = HRESULT($C00D275F);
  13777.   {$EXTERNALSYM NS_E_DRM_STORE_NOTALLSTORED}
  13778.  
  13779. //
  13780. // MessageId: NS_E_DRM_SECURITY_COMPONENT_SIGNATURE_INVALID
  13781. //
  13782. // MessageText:
  13783. //
  13784. //  The Digital Rights Management security upgrade component could not be validated. Contact Microsoft product support.%0
  13785. //
  13786.   NS_E_DRM_SECURITY_COMPONENT_SIGNATURE_INVALID = HRESULT($C00D2760);
  13787.   {$EXTERNALSYM NS_E_DRM_SECURITY_COMPONENT_SIGNATURE_INVALID}
  13788.  
  13789. //
  13790. // MessageId: NS_E_DRM_INVALID_DATA
  13791. //
  13792. // MessageText:
  13793. //
  13794. //  Invalid or corrupt data was encountered.%0
  13795. //
  13796.   NS_E_DRM_INVALID_DATA            = HRESULT($C00D2761);
  13797.   {$EXTERNALSYM NS_E_DRM_INVALID_DATA}
  13798.  
  13799. //
  13800. // MessageId: NS_E_DRM_UNABLE_TO_CONTACT_SERVER
  13801. //
  13802. // MessageText:
  13803. //
  13804. //  Unable to contact the server for the requested operation.%0
  13805. //
  13806.   NS_E_DRM_UNABLE_TO_CONTACT_SERVER = HRESULT($C00D2762);
  13807.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CONTACT_SERVER}
  13808.  
  13809. //
  13810. // MessageId: NS_E_DRM_UNABLE_TO_CREATE_AUTHENTICATION_OBJECT
  13811. //
  13812. // MessageText:
  13813. //
  13814. //  A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.%0.
  13815. //
  13816.   NS_E_DRM_UNABLE_TO_CREATE_AUTHENTICATION_OBJECT = HRESULT($C00D2763);
  13817.   {$EXTERNALSYM NS_E_DRM_UNABLE_TO_CREATE_AUTHENTICATION_OBJECT}
  13818.  
  13819. //
  13820. // MessageId: NS_E_DRM_NOT_CONFIGURED
  13821. //
  13822. // MessageText:
  13823. //
  13824. //  Not all of the necessary properties for DRM have been set.%0
  13825. //
  13826.   NS_E_DRM_NOT_CONFIGURED          = HRESULT($C00D2764);
  13827.   {$EXTERNALSYM NS_E_DRM_NOT_CONFIGURED}
  13828.  
  13829. //
  13830. // MessageId: NS_E_DRM_DEVICE_ACTIVATION_CANCELED
  13831. //
  13832. // MessageText:
  13833. //
  13834. //  The portable device does not have the security required to copy protected files
  13835. //  to it. To obtain the additional security, try to copy the file to your portable
  13836. //  device again. When a message appears, click OK.%0
  13837. //
  13838.   NS_E_DRM_DEVICE_ACTIVATION_CANCELED = HRESULT($C00D2765);
  13839.   {$EXTERNALSYM NS_E_DRM_DEVICE_ACTIVATION_CANCELED}
  13840.  
  13841.  
  13842. //
  13843. // License Reasons Section
  13844. // Error Codes why a license is not usable. Reserve 10200..10300 for this purpose.
  13845. // 10200..10249 is for license reported reasons. 10250..10300 is for client detected reasons.
  13846. //
  13847.  
  13848. //
  13849. // MessageId: NS_E_DRM_LICENSE_EXPIRED
  13850. //
  13851. // MessageText:
  13852. //
  13853. //  The license for this file has expired and is no longer valid. Contact your content provider for further assistance.%0
  13854. //
  13855.   NS_E_DRM_LICENSE_EXPIRED         = HRESULT($C00D27D8);
  13856.   {$EXTERNALSYM NS_E_DRM_LICENSE_EXPIRED}
  13857.  
  13858. //
  13859. // MessageId: NS_E_DRM_LICENSE_NOTENABLED
  13860. //
  13861. // MessageText:
  13862. //
  13863. //  The license for this file is not valid yet, but will be at a future date.%0
  13864. //
  13865.   NS_E_DRM_LICENSE_NOTENABLED      = HRESULT($C00D27D9);
  13866.   {$EXTERNALSYM NS_E_DRM_LICENSE_NOTENABLED}
  13867.  
  13868. //
  13869. // MessageId: NS_E_DRM_LICENSE_APPSECLOW
  13870. //
  13871. // MessageText:
  13872. //
  13873. //  The license for this file requires a higher level of security than the player
  13874. //  you are currently using has. Try using a different player or download a newer
  13875. //  version of your current player.%0
  13876. //
  13877.   NS_E_DRM_LICENSE_APPSECLOW       = HRESULT($C00D27DA);
  13878.   {$EXTERNALSYM NS_E_DRM_LICENSE_APPSECLOW}
  13879.  
  13880. //
  13881. // MessageId: NS_E_DRM_STORE_NEEDINDI
  13882. //
  13883. // MessageText:
  13884. //
  13885. //  The license cannot be stored as it requires security upgrade of Digital Rights Management component.%0.
  13886. //
  13887.   NS_E_DRM_STORE_NEEDINDI          = HRESULT($C00D27DB);
  13888.   {$EXTERNALSYM NS_E_DRM_STORE_NEEDINDI}
  13889.  
  13890. //
  13891. // MessageId: NS_E_DRM_STORE_NOTALLOWED
  13892. //
  13893. // MessageText:
  13894. //
  13895. //  Your machine does not meet the requirements for storing the license.%0.
  13896. //
  13897.   NS_E_DRM_STORE_NOTALLOWED        = HRESULT($C00D27DC);
  13898.   {$EXTERNALSYM NS_E_DRM_STORE_NOTALLOWED}
  13899.  
  13900. //
  13901. // MessageId: NS_E_DRM_LICENSE_APP_NOTALLOWED
  13902. //
  13903. // MessageText:
  13904. //
  13905. //  The license for this file requires an upgraded version of your player or a different player.%0.
  13906. //
  13907.   NS_E_DRM_LICENSE_APP_NOTALLOWED  = HRESULT($C00D27DD);
  13908.   {$EXTERNALSYM NS_E_DRM_LICENSE_APP_NOTALLOWED}
  13909.  
  13910. //
  13911. // MessageId: NS_S_DRM_NEEDS_INDIVIDUALIZATION
  13912. //
  13913. // MessageText:
  13914. //
  13915. //  A security upgrade is required to perform the operation on this media file.%0
  13916. //
  13917.   NS_S_DRM_NEEDS_INDIVIDUALIZATION = HRESULT($000D27DE);
  13918.   {$EXTERNALSYM NS_S_DRM_NEEDS_INDIVIDUALIZATION}
  13919.  
  13920. //
  13921. // MessageId: NS_E_DRM_LICENSE_CERT_EXPIRED
  13922. //
  13923. // MessageText:
  13924. //
  13925. //  The license server's certificate expired. Make sure your system clock is set correctly. Contact your content provider for further assistance. %0.
  13926. //
  13927.   NS_E_DRM_LICENSE_CERT_EXPIRED    = HRESULT($C00D27DF);
  13928.   {$EXTERNALSYM NS_E_DRM_LICENSE_CERT_EXPIRED}
  13929.  
  13930. //
  13931. // MessageId: NS_E_DRM_LICENSE_SECLOW
  13932. //
  13933. // MessageText:
  13934. //
  13935. //  The license for this file requires a higher level of security than the player
  13936. //  you are currently using has. Try using a different player or download a newer
  13937. //  version of your current player.%0
  13938. //
  13939.   NS_E_DRM_LICENSE_SECLOW          = HRESULT($C00D27E0);
  13940.   {$EXTERNALSYM NS_E_DRM_LICENSE_SECLOW}
  13941.  
  13942. //
  13943. // MessageId: NS_E_DRM_LICENSE_CONTENT_REVOKED
  13944. //
  13945. // MessageText:
  13946. //
  13947. //  The content owner for the license you just acquired is no longer supporting their content. Contact the content owner for a newer version of the content.%0
  13948. //
  13949.   NS_E_DRM_LICENSE_CONTENT_REVOKED = HRESULT($C00D27E1);
  13950.   {$EXTERNALSYM NS_E_DRM_LICENSE_CONTENT_REVOKED}
  13951.  
  13952. //
  13953. // MessageId: NS_E_DRM_LICENSE_NOSAP
  13954. //
  13955. // MessageText:
  13956. //
  13957. //  The license for this file requires a feature that is not supported in your
  13958. //  current player or operating system. You can try with newer version of your current
  13959. //  player or contact your content provider for further assistance.%0
  13960. //
  13961.   NS_E_DRM_LICENSE_NOSAP           = HRESULT($C00D280A);
  13962.   {$EXTERNALSYM NS_E_DRM_LICENSE_NOSAP}
  13963.  
  13964. //
  13965. // MessageId: NS_E_DRM_LICENSE_NOSVP
  13966. //
  13967. // MessageText:
  13968. //
  13969. //  The license for this file requires a feature that is not supported in your current player or operating system. You can try with newer version of your current player or contact your content provider for further assistance.%0
  13970. //
  13971.   NS_E_DRM_LICENSE_NOSVP           = HRESULT($C00D280B);
  13972.   {$EXTERNALSYM NS_E_DRM_LICENSE_NOSVP}
  13973.  
  13974. //
  13975. // MessageId: NS_E_DRM_LICENSE_NOWDM
  13976. //
  13977. // MessageText:
  13978. //
  13979. //  The license for this file requires Windows Driver Model (WDM) audio drivers. Contact your sound card manufacturer for further assistance.%0
  13980. //
  13981.   NS_E_DRM_LICENSE_NOWDM           = HRESULT($C00D280C);
  13982.   {$EXTERNALSYM NS_E_DRM_LICENSE_NOWDM}
  13983.  
  13984. //
  13985. // MessageId: NS_E_DRM_LICENSE_NOTRUSTEDCODEC
  13986. //
  13987. // MessageText:
  13988. //
  13989. //  The license for this file requires a higher level of security than the player you are currently using has. Try using a different player or download a newer version of your current player.%0
  13990. //
  13991.   NS_E_DRM_LICENSE_NOTRUSTEDCODEC  = HRESULT($C00D280D);
  13992.   {$EXTERNALSYM NS_E_DRM_LICENSE_NOTRUSTEDCODEC}
  13993.  
  13994.  
  13995. //
  13996. // End of License Reasons Section
  13997. //
  13998.  
  13999. //
  14000. // MessageId: NS_E_DRM_NEEDS_UPGRADE_TEMPFILE
  14001. //
  14002. // MessageText:
  14003. //
  14004. //  An updated version of your media player is required to play the selected content.%0
  14005. //
  14006.   NS_E_DRM_NEEDS_UPGRADE_TEMPFILE  = HRESULT($C00D283D);
  14007.   {$EXTERNALSYM NS_E_DRM_NEEDS_UPGRADE_TEMPFILE}
  14008.  
  14009. //
  14010. // MessageId: NS_E_DRM_NEED_UPGRADE_PD
  14011. //
  14012. // MessageText:
  14013. //
  14014. //  A new version of the Digital Rights Management component is required. Contact product support for this application to get the latest version.%0
  14015. //
  14016.   NS_E_DRM_NEED_UPGRADE_PD         = HRESULT($C00D283E);
  14017.   {$EXTERNALSYM NS_E_DRM_NEED_UPGRADE_PD}
  14018.  
  14019. //
  14020. // MessageId: NS_E_DRM_SIGNATURE_FAILURE
  14021. //
  14022. // MessageText:
  14023. //
  14024. //  Failed to either create or verify the content header.%0
  14025. //
  14026.   NS_E_DRM_SIGNATURE_FAILURE       = HRESULT($C00D283F);
  14027.   {$EXTERNALSYM NS_E_DRM_SIGNATURE_FAILURE}
  14028.  
  14029. //
  14030. // MessageId: NS_E_DRM_LICENSE_SERVER_INFO_MISSING
  14031. //
  14032. // MessageText:
  14033. //
  14034. //  Could not read the necessary information from the system registry.%0
  14035. //
  14036.   NS_E_DRM_LICENSE_SERVER_INFO_MISSING = HRESULT($C00D2840);
  14037.   {$EXTERNALSYM NS_E_DRM_LICENSE_SERVER_INFO_MISSING}
  14038.  
  14039. //
  14040. // MessageId: NS_E_DRM_BUSY
  14041. //
  14042. // MessageText:
  14043. //
  14044. //  The DRM subsystem is currently locked by another application or user.  Try again later.%0
  14045. //
  14046.   NS_E_DRM_BUSY                    = HRESULT($C00D2841);
  14047.   {$EXTERNALSYM NS_E_DRM_BUSY}
  14048.  
  14049. //
  14050. // MessageId: NS_E_DRM_PD_TOO_MANY_DEVICES
  14051. //
  14052. // MessageText:
  14053. //
  14054. //  There are too many target devices registered on the portable media.%0
  14055. //
  14056.   NS_E_DRM_PD_TOO_MANY_DEVICES     = HRESULT($C00D2842);
  14057.   {$EXTERNALSYM NS_E_DRM_PD_TOO_MANY_DEVICES}
  14058.  
  14059. //
  14060. // MessageId: NS_E_DRM_INDIV_FRAUD
  14061. //
  14062. // MessageText:
  14063. //
  14064. //  The security upgrade cannot be completed because the allowed number of daily upgrades has been exceeded. Try again tomorrow.%0
  14065. //
  14066.   NS_E_DRM_INDIV_FRAUD             = HRESULT($C00D2843);
  14067.   {$EXTERNALSYM NS_E_DRM_INDIV_FRAUD}
  14068.  
  14069. //
  14070. // MessageId: NS_E_DRM_INDIV_NO_CABS
  14071. //
  14072. // MessageText:
  14073. //
  14074. //  The security upgrade cannot be completed because the server is unable to perform the operation. Try again later.%0
  14075. //
  14076.   NS_E_DRM_INDIV_NO_CABS           = HRESULT($C00D2844);
  14077.   {$EXTERNALSYM NS_E_DRM_INDIV_NO_CABS}
  14078.  
  14079. //
  14080. // MessageId: NS_E_DRM_INDIV_SERVICE_UNAVAILABLE
  14081. //
  14082. // MessageText:
  14083. //
  14084. //  The security upgrade cannot be performed because the server is not available. Try again later.%0
  14085. //
  14086.   NS_E_DRM_INDIV_SERVICE_UNAVAILABLE = HRESULT($C00D2845);
  14087.   {$EXTERNALSYM NS_E_DRM_INDIV_SERVICE_UNAVAILABLE}
  14088.  
  14089. //
  14090. // MessageId: NS_E_DRM_RESTORE_SERVICE_UNAVAILABLE
  14091. //
  14092. // MessageText:
  14093. //
  14094. //  Windows Media Player cannot restore your licenses because the server is not available. Try again later.%0
  14095. //
  14096.   NS_E_DRM_RESTORE_SERVICE_UNAVAILABLE = HRESULT($C00D2846);
  14097.   {$EXTERNALSYM NS_E_DRM_RESTORE_SERVICE_UNAVAILABLE}
  14098.  
  14099.  
  14100.  
  14101. /////////////////////////////////////////////////////////////////////////
  14102. //
  14103. // Windows Media Setup Specific Errors
  14104. //
  14105. // IdRange = 11000..11999
  14106. /////////////////////////////////////////////////////////////////////////
  14107. //
  14108. // MessageId: NS_S_REBOOT_RECOMMENDED
  14109. //
  14110. // MessageText:
  14111. //
  14112. //  The requested operation is successful.  Some cleanup will not be complete until the system is rebooted.%0
  14113. //
  14114.   NS_S_REBOOT_RECOMMENDED          = HRESULT($000D2AF8);
  14115.   {$EXTERNALSYM NS_S_REBOOT_RECOMMENDED}
  14116.  
  14117. //
  14118. // MessageId: NS_S_REBOOT_REQUIRED
  14119. //
  14120. // MessageText:
  14121. //
  14122. //  The requested operation is successful.  The system will not function correctly until the system is rebooted.%0
  14123. //
  14124.   NS_S_REBOOT_REQUIRED             = HRESULT($000D2AF9);
  14125.   {$EXTERNALSYM NS_S_REBOOT_REQUIRED}
  14126.  
  14127. //
  14128. // MessageId: NS_E_REBOOT_RECOMMENDED
  14129. //
  14130. // MessageText:
  14131. //
  14132. //  The requested operation failed.  Some cleanup will not be complete until the system is rebooted.%0
  14133. //
  14134.   NS_E_REBOOT_RECOMMENDED          = HRESULT($C00D2AFA);
  14135.   {$EXTERNALSYM NS_E_REBOOT_RECOMMENDED}
  14136.  
  14137. //
  14138. // MessageId: NS_E_REBOOT_REQUIRED
  14139. //
  14140. // MessageText:
  14141. //
  14142. //  The requested operation failed.  The system will not function correctly until the system is rebooted.%0
  14143. //
  14144.   NS_E_REBOOT_REQUIRED             = HRESULT($C00D2AFB);
  14145.   {$EXTERNALSYM NS_E_REBOOT_REQUIRED}
  14146.  
  14147.  
  14148. /////////////////////////////////////////////////////////////////////////
  14149. //
  14150. // Windows Media Networking Errors
  14151. //
  14152. // IdRange = 12000..12999
  14153. /////////////////////////////////////////////////////////////////////////
  14154. //
  14155. // MessageId: NS_E_UNKNOWN_PROTOCOL
  14156. //
  14157. // MessageText:
  14158. //
  14159. //  The specified protocol is not supported.%0
  14160. //
  14161.   NS_E_UNKNOWN_PROTOCOL            = HRESULT($C00D2EE0);
  14162.   {$EXTERNALSYM NS_E_UNKNOWN_PROTOCOL}
  14163.  
  14164. //
  14165. // MessageId: NS_E_REDIRECT_TO_PROXY
  14166. //
  14167. // MessageText:
  14168. //
  14169. //  The client is redirected to a proxy server.%0
  14170. //
  14171.   NS_E_REDIRECT_TO_PROXY           = HRESULT($C00D2EE1);
  14172.   {$EXTERNALSYM NS_E_REDIRECT_TO_PROXY}
  14173.  
  14174. //
  14175. // MessageId: NS_E_INTERNAL_SERVER_ERROR
  14176. //
  14177. // MessageText:
  14178. //
  14179. //  The server encountered an unexpected condition which prevented it from fulfilling the request.%0
  14180. //
  14181.   NS_E_INTERNAL_SERVER_ERROR       = HRESULT($C00D2EE2);
  14182.   {$EXTERNALSYM NS_E_INTERNAL_SERVER_ERROR}
  14183.  
  14184. //
  14185. // MessageId: NS_E_BAD_REQUEST
  14186. //
  14187. // MessageText:
  14188. //
  14189. //  The request could not be understood by the server.%0
  14190. //
  14191.   NS_E_BAD_REQUEST                 = HRESULT($C00D2EE3);
  14192.   {$EXTERNALSYM NS_E_BAD_REQUEST}
  14193.  
  14194. //
  14195. // MessageId: NS_E_ERROR_FROM_PROXY
  14196. //
  14197. // MessageText:
  14198. //
  14199. //  The proxy experienced an error while attempting to contact the media server.%0
  14200. //
  14201.   NS_E_ERROR_FROM_PROXY            = HRESULT($C00D2EE4);
  14202.   {$EXTERNALSYM NS_E_ERROR_FROM_PROXY}
  14203.  
  14204. //
  14205. // MessageId: NS_E_PROXY_TIMEOUT
  14206. //
  14207. // MessageText:
  14208. //
  14209. //  The proxy did not receive a timely response while attempting to contact the media server.%0
  14210. //
  14211.   NS_E_PROXY_TIMEOUT               = HRESULT($C00D2EE5);
  14212.   {$EXTERNALSYM NS_E_PROXY_TIMEOUT}
  14213.  
  14214. //
  14215. // MessageId: NS_E_SERVER_UNAVAILABLE
  14216. //
  14217. // MessageText:
  14218. //
  14219. //  The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.%0
  14220. //
  14221.   NS_E_SERVER_UNAVAILABLE          = HRESULT($C00D2EE6);
  14222.   {$EXTERNALSYM NS_E_SERVER_UNAVAILABLE}
  14223.  
  14224. //
  14225. // MessageId: NS_E_REFUSED_BY_SERVER
  14226. //
  14227. // MessageText:
  14228. //
  14229. //  The server is refusing to fulfill the requested operation.%0
  14230. //
  14231.   NS_E_REFUSED_BY_SERVER           = HRESULT($C00D2EE7);
  14232.   {$EXTERNALSYM NS_E_REFUSED_BY_SERVER}
  14233.  
  14234. //
  14235. // MessageId: NS_E_INCOMPATIBLE_SERVER
  14236. //
  14237. // MessageText:
  14238. //
  14239. //  The server is not a compatible streaming media server.%0
  14240. //
  14241.   NS_E_INCOMPATIBLE_SERVER         = HRESULT($C00D2EE8);
  14242.   {$EXTERNALSYM NS_E_INCOMPATIBLE_SERVER}
  14243.  
  14244. //
  14245. // MessageId: NS_E_MULTICAST_DISABLED
  14246. //
  14247. // MessageText:
  14248. //
  14249. //  The content cannot be streamed because the Multicast protocol has been disabled.%0
  14250. //
  14251.   NS_E_MULTICAST_DISABLED          = HRESULT($C00D2EE9);
  14252.   {$EXTERNALSYM NS_E_MULTICAST_DISABLED}
  14253.  
  14254. //
  14255. // MessageId: NS_E_INVALID_REDIRECT
  14256. //
  14257. // MessageText:
  14258. //
  14259. //  The server redirected the player to an invalid location.%0
  14260. //
  14261.   NS_E_INVALID_REDIRECT            = HRESULT($C00D2EEA);
  14262.   {$EXTERNALSYM NS_E_INVALID_REDIRECT}
  14263.  
  14264. //
  14265. // MessageId: NS_E_ALL_PROTOCOLS_DISABLED
  14266. //
  14267. // MessageText:
  14268. //
  14269. //  The content cannot be streamed because all protocols have been disabled.%0
  14270. //
  14271.   NS_E_ALL_PROTOCOLS_DISABLED      = HRESULT($C00D2EEB);
  14272.   {$EXTERNALSYM NS_E_ALL_PROTOCOLS_DISABLED}
  14273.  
  14274. //
  14275. // MessageId: NS_E_MSBD_NO_LONGER_SUPPORTED
  14276. //
  14277. // MessageText:
  14278. //
  14279. //  The MSBD protocol is no longer supported. Please use HTTP to connect to the Windows Media stream.%0
  14280. //
  14281.   NS_E_MSBD_NO_LONGER_SUPPORTED    = HRESULT($C00D2EEC);
  14282.   {$EXTERNALSYM NS_E_MSBD_NO_LONGER_SUPPORTED}
  14283.  
  14284. //
  14285. // MessageId: NS_E_PROXY_NOT_FOUND
  14286. //
  14287. // MessageText:
  14288. //
  14289. //  The proxy server could not be located. Please check your proxy server configuration.%0
  14290. //
  14291.   NS_E_PROXY_NOT_FOUND             = HRESULT($C00D2EED);
  14292.   {$EXTERNALSYM NS_E_PROXY_NOT_FOUND}
  14293.  
  14294. //
  14295. // MessageId: NS_E_CANNOT_CONNECT_TO_PROXY
  14296. //
  14297. // MessageText:
  14298. //
  14299. //  Unable to establish a connection to the proxy server. Please check your proxy server configuration.%0
  14300. //
  14301.   NS_E_CANNOT_CONNECT_TO_PROXY     = HRESULT($C00D2EEE);
  14302.   {$EXTERNALSYM NS_E_CANNOT_CONNECT_TO_PROXY}
  14303.  
  14304. //
  14305. // MessageId: NS_E_SERVER_DNS_TIMEOUT
  14306. //
  14307. // MessageText:
  14308. //
  14309. //  Unable to locate the media server. The operation timed out.%0
  14310. //
  14311.   NS_E_SERVER_DNS_TIMEOUT          = HRESULT($C00D2EEF);
  14312.   {$EXTERNALSYM NS_E_SERVER_DNS_TIMEOUT}
  14313.  
  14314. //
  14315. // MessageId: NS_E_PROXY_DNS_TIMEOUT
  14316. //
  14317. // MessageText:
  14318. //
  14319. //  Unable to locate the proxy server. The operation timed out.%0
  14320. //
  14321.   NS_E_PROXY_DNS_TIMEOUT           = HRESULT($C00D2EF0);
  14322.   {$EXTERNALSYM NS_E_PROXY_DNS_TIMEOUT}
  14323.  
  14324. //
  14325. // MessageId: NS_E_CLOSED_ON_SUSPEND
  14326. //
  14327. // MessageText:
  14328. //
  14329. //  Media closed because Windows was shut down.%0
  14330. //
  14331.   NS_E_CLOSED_ON_SUSPEND           = HRESULT($C00D2EF1);
  14332.   {$EXTERNALSYM NS_E_CLOSED_ON_SUSPEND}
  14333.  
  14334. //
  14335. // MessageId: NS_E_CANNOT_READ_PLAYLIST_FROM_MEDIASERVER
  14336. //
  14337. // MessageText:
  14338. //
  14339. //  Unable to read the contents of a playlist file from a media server.%0
  14340. //
  14341.   NS_E_CANNOT_READ_PLAYLIST_FROM_MEDIASERVER = HRESULT($C00D2EF2);
  14342.   {$EXTERNALSYM NS_E_CANNOT_READ_PLAYLIST_FROM_MEDIASERVER}
  14343.  
  14344. //
  14345. // MessageId: NS_E_SESSION_NOT_FOUND
  14346. //
  14347. // MessageText:
  14348. //
  14349. //  Session not found.%0
  14350. //
  14351.   NS_E_SESSION_NOT_FOUND           = HRESULT($C00D2EF3);
  14352.   {$EXTERNALSYM NS_E_SESSION_NOT_FOUND}
  14353.  
  14354. //
  14355. // MessageId: NS_E_REQUIRE_STREAMING_CLIENT
  14356. //
  14357. // MessageText:
  14358. //
  14359. //  Content requires a streaming media client.%0
  14360. //
  14361.   NS_E_REQUIRE_STREAMING_CLIENT    = HRESULT($C00D2EF4);
  14362.   {$EXTERNALSYM NS_E_REQUIRE_STREAMING_CLIENT}
  14363.  
  14364. //
  14365. // MessageId: NS_E_PLAYLIST_ENTRY_HAS_CHANGED
  14366. //
  14367. // MessageText:
  14368. //
  14369. //  A command applies to a previous playlist entry.%0
  14370. //
  14371.   NS_E_PLAYLIST_ENTRY_HAS_CHANGED  = HRESULT($C00D2EF5);
  14372.   {$EXTERNALSYM NS_E_PLAYLIST_ENTRY_HAS_CHANGED}
  14373.  
  14374. //
  14375. // MessageId: NS_E_PROXY_ACCESSDENIED
  14376. //
  14377. // MessageText:
  14378. //
  14379. //  The proxy server is denying access.  The username and/or password might be incorrect.%0
  14380. //
  14381.   NS_E_PROXY_ACCESSDENIED          = HRESULT($C00D2EF6);
  14382.   {$EXTERNALSYM NS_E_PROXY_ACCESSDENIED}
  14383.  
  14384. //
  14385. // MessageId: NS_E_PROXY_SOURCE_ACCESSDENIED
  14386. //
  14387. // MessageText:
  14388. //
  14389. //  The proxy could not provide valid authentication credentials to the media server.%0
  14390. //
  14391.   NS_E_PROXY_SOURCE_ACCESSDENIED   = HRESULT($C00D2EF7);
  14392.   {$EXTERNALSYM NS_E_PROXY_SOURCE_ACCESSDENIED}
  14393.  
  14394. //
  14395. // MessageId: NS_E_NETWORK_SINK_WRITE
  14396. //
  14397. // MessageText:
  14398. //
  14399. //  The network sink failed to write data to the network.%0
  14400. //
  14401.   NS_E_NETWORK_SINK_WRITE          = HRESULT($C00D2EF8);
  14402.   {$EXTERNALSYM NS_E_NETWORK_SINK_WRITE}
  14403.  
  14404. //
  14405. // MessageId: NS_E_FIREWALL
  14406. //
  14407. // MessageText:
  14408. //
  14409. //  Packets are not being received from the server. The packets might be blocked by a filtering device, such as a network firewall.%0
  14410. //
  14411.   NS_E_FIREWALL                    = HRESULT($C00D2EF9);
  14412.   {$EXTERNALSYM NS_E_FIREWALL}
  14413.  
  14414. //
  14415. // MessageId: NS_E_MMS_NOT_SUPPORTED
  14416. //
  14417. // MessageText:
  14418. //
  14419. //  The MMS protocol is not supported. Please use HTTP or RTSP to connect to the Windows Media stream.%0
  14420. //
  14421.   NS_E_MMS_NOT_SUPPORTED           = HRESULT($C00D2EFA);
  14422.   {$EXTERNALSYM NS_E_MMS_NOT_SUPPORTED}
  14423.  
  14424. //
  14425. // MessageId: NS_E_SERVER_ACCESSDENIED
  14426. //
  14427. // MessageText:
  14428. //
  14429. //  The Windows Media server is denying access.  The username and/or password might be incorrect.%0
  14430. //
  14431.   NS_E_SERVER_ACCESSDENIED         = HRESULT($C00D2EFB);
  14432.   {$EXTERNALSYM NS_E_SERVER_ACCESSDENIED}
  14433.  
  14434. //
  14435. // MessageId: NS_E_RESOURCE_GONE
  14436. //
  14437. // MessageText:
  14438. //
  14439. //  The Publishing Point or file on the Windows Media Server is no longer available.%0
  14440. //
  14441.   NS_E_RESOURCE_GONE               = HRESULT($C00D2EFC);
  14442.   {$EXTERNALSYM NS_E_RESOURCE_GONE}
  14443.  
  14444. //
  14445. // MessageId: NS_E_NO_EXISTING_PACKETIZER
  14446. //
  14447. // MessageText:
  14448. //
  14449. //  There is no existing packetizer plugin for a stream.%0
  14450. //
  14451.   NS_E_NO_EXISTING_PACKETIZER      = HRESULT($C00D2EFD);
  14452.   {$EXTERNALSYM NS_E_NO_EXISTING_PACKETIZER}
  14453.  
  14454. //
  14455. // MessageId: NS_E_BAD_SYNTAX_IN_SERVER_RESPONSE
  14456. //
  14457. // MessageText:
  14458. //
  14459. //  The response from the media server could not be understood. This might be caused by an incompatible proxy server or media server.%0
  14460. //
  14461.   NS_E_BAD_SYNTAX_IN_SERVER_RESPONSE = HRESULT($C00D2EFE);
  14462.   {$EXTERNALSYM NS_E_BAD_SYNTAX_IN_SERVER_RESPONSE}
  14463.  
  14464. //
  14465. // MessageId: NS_I_RECONNECTED
  14466. //
  14467. // MessageText:
  14468. //
  14469. //  The client is reconnected.%0
  14470. //
  14471.   NS_I_RECONNECTED                 = HRESULT($400D2EFF);
  14472.   {$EXTERNALSYM NS_I_RECONNECTED}
  14473.  
  14474. //
  14475. // MessageId: NS_E_RESET_SOCKET_CONNECTION
  14476. //
  14477. // MessageText:
  14478. //
  14479. //  The Windows Media Server reset the network connection.%0
  14480. //
  14481.   NS_E_RESET_SOCKET_CONNECTION     = HRESULT($C00D2F00);
  14482.   {$EXTERNALSYM NS_E_RESET_SOCKET_CONNECTION}
  14483.  
  14484. //
  14485. // MessageId: NS_I_NOLOG_STOP
  14486. //
  14487. // MessageText:
  14488. //
  14489. //  Forcing a switch to a pending header on start.%0
  14490. //
  14491.   NS_I_NOLOG_STOP                  = HRESULT($400D2F01);
  14492.   {$EXTERNALSYM NS_I_NOLOG_STOP}
  14493.  
  14494. //
  14495. // MessageId: NS_E_TOO_MANY_HOPS
  14496. //
  14497. // MessageText:
  14498. //
  14499. //  The request could not reach the media server (too many hops).%0
  14500. //
  14501.   NS_E_TOO_MANY_HOPS               = HRESULT($C00D2F02);
  14502.   {$EXTERNALSYM NS_E_TOO_MANY_HOPS}
  14503.  
  14504. //
  14505. // MessageId: NS_I_EXISTING_PACKETIZER
  14506. //
  14507. // MessageText:
  14508. //
  14509. //  There is already an existing packetizer plugin for the stream.%0
  14510. //
  14511.   NS_I_EXISTING_PACKETIZER         = HRESULT($400D2F03);
  14512.   {$EXTERNALSYM NS_I_EXISTING_PACKETIZER}
  14513.  
  14514. //
  14515. // MessageId: NS_I_MANUAL_PROXY
  14516. //
  14517. // MessageText:
  14518. //
  14519. //  The proxy setting is manual.%0
  14520. //
  14521.   NS_I_MANUAL_PROXY                = HRESULT($400D2F04);
  14522.   {$EXTERNALSYM NS_I_MANUAL_PROXY}
  14523.  
  14524. //
  14525. // MessageId: NS_E_TOO_MUCH_DATA_FROM_SERVER
  14526. //
  14527. // MessageText:
  14528. //
  14529. //  The server is sending too much data. The connection has been terminated.%0
  14530. //
  14531.   NS_E_TOO_MUCH_DATA_FROM_SERVER   = HRESULT($C00D2F05);
  14532.   {$EXTERNALSYM NS_E_TOO_MUCH_DATA_FROM_SERVER}
  14533.  
  14534. //
  14535. // MessageId: NS_E_CONNECT_TIMEOUT
  14536. //
  14537. // MessageText:
  14538. //
  14539. //  It was not possible to establish a connection to the media server in a timely manner. The media server may be down for maintenance, or it may be necessary to use a proxy server to access this media server.%0
  14540. //
  14541.   NS_E_CONNECT_TIMEOUT             = HRESULT($C00D2F06);
  14542.   {$EXTERNALSYM NS_E_CONNECT_TIMEOUT}
  14543.  
  14544. //
  14545. // MessageId: NS_E_PROXY_CONNECT_TIMEOUT
  14546. //
  14547. // MessageText:
  14548. //
  14549. //  It was not possible to establish a connection to the proxy server in a timely manner. Please check your proxy server configuration.%0
  14550. //
  14551.   NS_E_PROXY_CONNECT_TIMEOUT       = HRESULT($C00D2F07);
  14552.   {$EXTERNALSYM NS_E_PROXY_CONNECT_TIMEOUT}
  14553.  
  14554. //
  14555. // MessageId: NS_E_SESSION_INVALID
  14556. //
  14557. // MessageText:
  14558. //
  14559. //  Session not found.%0
  14560. //
  14561.   NS_E_SESSION_INVALID             = HRESULT($C00D2F08);
  14562.   {$EXTERNALSYM NS_E_SESSION_INVALID}
  14563.  
  14564. //
  14565. // MessageId: NS_S_EOSRECEDING
  14566. //
  14567. // MessageText:
  14568. //
  14569. //  EOS hit during rewinding.%0
  14570. //
  14571.   NS_S_EOSRECEDING                 = HRESULT($000D2F09);
  14572.   {$EXTERNALSYM NS_S_EOSRECEDING}
  14573.  
  14574. //
  14575. // MessageId: NS_E_PACKETSINK_UNKNOWN_FEC_STREAM
  14576. //
  14577. // MessageText:
  14578. //
  14579. //  Unknown packet sink stream.%0
  14580. //
  14581.   NS_E_PACKETSINK_UNKNOWN_FEC_STREAM = HRESULT($C00D2F0A);
  14582.   {$EXTERNALSYM NS_E_PACKETSINK_UNKNOWN_FEC_STREAM}
  14583.  
  14584. //
  14585. // MessageId: NS_E_PUSH_CANNOTCONNECT
  14586. //
  14587. // MessageText:
  14588. //
  14589. //  Unable to establish a connection to the server. Ensure Windows Media Services is started and the HTTP Server control protocol is properly enabled.%0
  14590. //
  14591.   NS_E_PUSH_CANNOTCONNECT          = HRESULT($C00D2F0B);
  14592.   {$EXTERNALSYM NS_E_PUSH_CANNOTCONNECT}
  14593.  
  14594. //
  14595. // MessageId: NS_E_INCOMPATIBLE_PUSH_SERVER
  14596. //
  14597. // MessageText:
  14598. //
  14599. //  The Server service that received the HTTP push request is not a compatible version of Windows Media Services (WMS).  This error may indicate the push request was received by IIS instead of WMS.  Ensure WMS is started and has the HTTP Server control protocol properly enabled and try again.%0
  14600. //
  14601.   NS_E_INCOMPATIBLE_PUSH_SERVER    = HRESULT($C00D2F0C);
  14602.   {$EXTERNALSYM NS_E_INCOMPATIBLE_PUSH_SERVER}
  14603.  
  14604. //
  14605. // MessageId: NS_S_CHANGENOTICE
  14606. //
  14607. // MessageText:
  14608. //
  14609. //  Internal.%0
  14610. //
  14611.   NS_S_CHANGENOTICE                = HRESULT($000D2F0D);
  14612.   {$EXTERNALSYM NS_S_CHANGENOTICE}
  14613.  
  14614.  
  14615. /////////////////////////////////////////////////////////////////////////
  14616. //
  14617. // Windows Media Client Media Services
  14618. //
  14619. // IdRange = 13000..13999 (0x32C8-0x36AF)
  14620. /////////////////////////////////////////////////////////////////////////
  14621. //
  14622. // MessageId: NS_E_END_OF_PLAYLIST
  14623. //
  14624. // MessageText:
  14625. //
  14626. //  The playlist has reached its end.%0
  14627. //
  14628.   NS_E_END_OF_PLAYLIST             = HRESULT($C00D32C8);
  14629.   {$EXTERNALSYM NS_E_END_OF_PLAYLIST}
  14630.  
  14631. //
  14632. // MessageId: NS_E_USE_FILE_SOURCE
  14633. //
  14634. // MessageText:
  14635. //
  14636. //  Use file source.%0
  14637. //
  14638.   NS_E_USE_FILE_SOURCE             = HRESULT($C00D32C9);
  14639.   {$EXTERNALSYM NS_E_USE_FILE_SOURCE}
  14640.  
  14641. //
  14642. // MessageId: NS_E_PROPERTY_NOT_FOUND
  14643. //
  14644. // MessageText:
  14645. //
  14646. //  The property was not found.%0
  14647. //
  14648.   NS_E_PROPERTY_NOT_FOUND          = HRESULT($C00D32CA);
  14649.   {$EXTERNALSYM NS_E_PROPERTY_NOT_FOUND}
  14650.  
  14651. //
  14652. // MessageId: NS_E_PROPERTY_READ_ONLY
  14653. //
  14654. // MessageText:
  14655. //
  14656. //  The property is read only.%0
  14657. //
  14658.   NS_E_PROPERTY_READ_ONLY          = HRESULT($C00D32CC);
  14659.   {$EXTERNALSYM NS_E_PROPERTY_READ_ONLY}
  14660.  
  14661. //
  14662. // MessageId: NS_E_TABLE_KEY_NOT_FOUND
  14663. //
  14664. // MessageText:
  14665. //
  14666. //  The table key was not found.%0
  14667. //
  14668.   NS_E_TABLE_KEY_NOT_FOUND         = HRESULT($C00D32CD);
  14669.   {$EXTERNALSYM NS_E_TABLE_KEY_NOT_FOUND}
  14670.  
  14671. //
  14672. // MessageId: NS_E_INVALID_QUERY_OPERATOR
  14673. //
  14674. // MessageText:
  14675. //
  14676. //  Invalid query operator.%0
  14677. //
  14678.   NS_E_INVALID_QUERY_OPERATOR      = HRESULT($C00D32CF);
  14679.   {$EXTERNALSYM NS_E_INVALID_QUERY_OPERATOR}
  14680.  
  14681. //
  14682. // MessageId: NS_E_INVALID_QUERY_PROPERTY
  14683. //
  14684. // MessageText:
  14685. //
  14686. //  Invalid query property.%0
  14687. //
  14688.   NS_E_INVALID_QUERY_PROPERTY      = HRESULT($C00D32D0);
  14689.   {$EXTERNALSYM NS_E_INVALID_QUERY_PROPERTY}
  14690.  
  14691. //
  14692. // MessageId: NS_E_PROPERTY_NOT_SUPPORTED
  14693. //
  14694. // MessageText:
  14695. //
  14696. //  The property is not supported.%0
  14697. //
  14698.   NS_E_PROPERTY_NOT_SUPPORTED      = HRESULT($C00D32D2);
  14699.   {$EXTERNALSYM NS_E_PROPERTY_NOT_SUPPORTED}
  14700.  
  14701. //
  14702. // MessageId: NS_E_SCHEMA_CLASSIFY_FAILURE
  14703. //
  14704. // MessageText:
  14705. //
  14706. //  Schema classification failure.%0
  14707. //
  14708.   NS_E_SCHEMA_CLASSIFY_FAILURE     = HRESULT($C00D32D4);
  14709.   {$EXTERNALSYM NS_E_SCHEMA_CLASSIFY_FAILURE}
  14710.  
  14711. //
  14712. // MessageId: NS_E_METADATA_FORMAT_NOT_SUPPORTED
  14713. //
  14714. // MessageText:
  14715. //
  14716. //  The metadata format is not supported.%0
  14717. //
  14718.   NS_E_METADATA_FORMAT_NOT_SUPPORTED = HRESULT($C00D32D5);
  14719.   {$EXTERNALSYM NS_E_METADATA_FORMAT_NOT_SUPPORTED}
  14720.  
  14721. //
  14722. // MessageId: NS_E_METADATA_NO_EDITING_CAPABILITY
  14723. //
  14724. // MessageText:
  14725. //
  14726. //  Cannot edit the metadata.%0
  14727. //
  14728.   NS_E_METADATA_NO_EDITING_CAPABILITY = HRESULT($C00D32D6);
  14729.   {$EXTERNALSYM NS_E_METADATA_NO_EDITING_CAPABILITY}
  14730.  
  14731. //
  14732. // MessageId: NS_E_METADATA_CANNOT_SET_LOCALE
  14733. //
  14734. // MessageText:
  14735. //
  14736. //  Cannot set the locale id.%0
  14737. //
  14738.   NS_E_METADATA_CANNOT_SET_LOCALE  = HRESULT($C00D32D7);
  14739.   {$EXTERNALSYM NS_E_METADATA_CANNOT_SET_LOCALE}
  14740.  
  14741. //
  14742. // MessageId: NS_E_METADATA_LANGUAGE_NOT_SUPORTED
  14743. //
  14744. // MessageText:
  14745. //
  14746. //  The language is not supported in the format.%0
  14747. //
  14748.   NS_E_METADATA_LANGUAGE_NOT_SUPORTED = HRESULT($C00D32D8);
  14749.   {$EXTERNALSYM NS_E_METADATA_LANGUAGE_NOT_SUPORTED}
  14750.  
  14751. //
  14752. // MessageId: NS_E_METADATA_NO_RFC1766_NAME_FOR_LOCALE
  14753. //
  14754. // MessageText:
  14755. //
  14756. //  There is no RFC1766 name translation for the supplied locale id.%0
  14757. //
  14758.   NS_E_METADATA_NO_RFC1766_NAME_FOR_LOCALE = HRESULT($C00D32D9);
  14759.   {$EXTERNALSYM NS_E_METADATA_NO_RFC1766_NAME_FOR_LOCALE}
  14760.  
  14761. //
  14762. // MessageId: NS_E_METADATA_NOT_AVAILABLE
  14763. //
  14764. // MessageText:
  14765. //
  14766. //  The metadata (or metadata item) is not available.%0
  14767. //
  14768.   NS_E_METADATA_NOT_AVAILABLE      = HRESULT($C00D32DA);
  14769.   {$EXTERNALSYM NS_E_METADATA_NOT_AVAILABLE}
  14770.  
  14771. //
  14772. // MessageId: NS_E_METADATA_CACHE_DATA_NOT_AVAILABLE
  14773. //
  14774. // MessageText:
  14775. //
  14776. //  The cached metadata (or metadata item) is not available.%0
  14777. //
  14778.   NS_E_METADATA_CACHE_DATA_NOT_AVAILABLE = HRESULT($C00D32DB);
  14779.   {$EXTERNALSYM NS_E_METADATA_CACHE_DATA_NOT_AVAILABLE}
  14780.  
  14781. //
  14782. // MessageId: NS_E_METADATA_INVALID_DOCUMENT_TYPE
  14783. //
  14784. // MessageText:
  14785. //
  14786. //  The metadata document is invalid.%0
  14787. //
  14788.   NS_E_METADATA_INVALID_DOCUMENT_TYPE = HRESULT($C00D32DC);
  14789.   {$EXTERNALSYM NS_E_METADATA_INVALID_DOCUMENT_TYPE}
  14790.  
  14791. //
  14792. // MessageId: NS_E_METADATA_IDENTIFIER_NOT_AVAILABLE
  14793. //
  14794. // MessageText:
  14795. //
  14796. //  The metadata content identifier is not available.%0
  14797. //
  14798.   NS_E_METADATA_IDENTIFIER_NOT_AVAILABLE = HRESULT($C00D32DD);
  14799.   {$EXTERNALSYM NS_E_METADATA_IDENTIFIER_NOT_AVAILABLE}
  14800.  
  14801. //
  14802. // MessageId: NS_E_METADATA_CANNOT_RETRIEVE_FROM_OFFLINE_CACHE
  14803. //
  14804. // MessageText:
  14805. //
  14806. //  Cannot retrieve metadata from the offline metadata cache.%0
  14807. //
  14808.   NS_E_METADATA_CANNOT_RETRIEVE_FROM_OFFLINE_CACHE = HRESULT($C00D32DE);
  14809.   {$EXTERNALSYM NS_E_METADATA_CANNOT_RETRIEVE_FROM_OFFLINE_CACHE}
  14810.  
  14811.  
  14812.  
  14813. ///////////////////////////////////////////////////////////////////////////
  14814. //
  14815. // ASFErr.h - definition of ASF HRESULT codes
  14816. //
  14817. //=========================================================================
  14818. //
  14819. //  Microsoft Windows Media Technologies
  14820. //  Copyright (C) Microsoft Corporation.  All Rights Reserved.
  14821. //
  14822. //=========================================================================
  14823.  
  14824.  
  14825. // #define STATUS_SEVERITY(hr)  (((hr) >> 30) & 0x3)
  14826.  
  14827. ///////////////////////////////////////////////////////////////////////////
  14828. //
  14829. // Advanced Streaming Format (ASF) Errors (2000 - 2999)
  14830. //
  14831. //
  14832. //  Values are 32 bit values layed out as follows:
  14833. //
  14834. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  14835. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  14836. //  +---+-+-+-----------------------+-------------------------------+
  14837. //  |Sev|C|R|     Facility          |               Code            |
  14838. //  +---+-+-+-----------------------+-------------------------------+
  14839. //
  14840. //  where
  14841. //
  14842. //      Sev - is the severity code
  14843. //
  14844. //          00 - Success
  14845. //          01 - Informational
  14846. //          10 - Warning
  14847. //          11 - Error
  14848. //
  14849. //      C - is the Customer code flag
  14850. //
  14851. //      R - is a reserved bit
  14852. //
  14853. //      Facility - is the facility code
  14854. //
  14855. //      Code - is the facility's status code
  14856. //
  14857. //
  14858.  
  14859. //
  14860. // MessageId: ASF_E_BUFFEROVERRUN
  14861. //
  14862. // MessageText:
  14863. //
  14864. //  An attempt was made to seek or position past the end of a buffer.%0
  14865. //
  14866.   ASF_E_BUFFEROVERRUN             = HRESULT($C00D07D0);
  14867.   {$EXTERNALSYM ASF_E_BUFFEROVERRUN}
  14868.  
  14869. //
  14870. // MessageId: ASF_E_BUFFERTOOSMALL
  14871. //
  14872. // MessageText:
  14873. //
  14874. //  The supplied input or output buffer was too small.%0
  14875. //
  14876.   ASF_E_BUFFERTOOSMALL            = HRESULT($C00D07D1);
  14877.   {$EXTERNALSYM ASF_E_BUFFERTOOSMALL}
  14878.  
  14879. //
  14880. // MessageId: ASF_E_BADLANGUAGEID
  14881. //
  14882. // MessageText:
  14883. //
  14884. //  The language ID was not found.%0
  14885. //
  14886.   ASF_E_BADLANGUAGEID             = HRESULT($C00D07D2);
  14887.   {$EXTERNALSYM ASF_E_BADLANGUAGEID}
  14888.  
  14889. //
  14890. // MessageId: ASF_E_NOPAYLOADLENGTH
  14891. //
  14892. // MessageText:
  14893. //
  14894. //  The multiple payload packet is missing the payload length.%0
  14895. //
  14896.   ASF_E_NOPAYLOADLENGTH           = HRESULT($C00D07DB);
  14897.   {$EXTERNALSYM ASF_E_NOPAYLOADLENGTH}
  14898.  
  14899. //
  14900. // MessageId: ASF_E_TOOMANYPAYLOADS
  14901. //
  14902. // MessageText:
  14903. //
  14904. //  The packet contains too many payloads.%0
  14905. //
  14906.   ASF_E_TOOMANYPAYLOADS           = HRESULT($C00D07DC);
  14907.   {$EXTERNALSYM ASF_E_TOOMANYPAYLOADS}
  14908.  
  14909. //
  14910. // MessageId: ASF_E_PACKETCONTENTTOOLARGE
  14911. //
  14912. // MessageText:
  14913. //
  14914. //  ASF_E_PACKETCONTENTTOOLARGE
  14915. //
  14916.   ASF_E_PACKETCONTENTTOOLARGE     = HRESULT($C00D07DE);
  14917.   {$EXTERNALSYM ASF_E_PACKETCONTENTTOOLARGE}
  14918.  
  14919. //
  14920. // MessageId: ASF_E_UNKNOWNPACKETSIZE
  14921. //
  14922. // MessageText:
  14923. //
  14924. //  Expecting a fixed packet size but min. and max. are not equal.%0
  14925. //
  14926.   ASF_E_UNKNOWNPACKETSIZE         = HRESULT($C00D07E0);
  14927.   {$EXTERNALSYM ASF_E_UNKNOWNPACKETSIZE}
  14928.  
  14929. //
  14930. // MessageId: ASF_E_INVALIDHEADER
  14931. //
  14932. // MessageText:
  14933. //
  14934. //  ASF_E_INVALIDHEADER
  14935. //
  14936.   ASF_E_INVALIDHEADER             = HRESULT($C00D07E2);
  14937.   {$EXTERNALSYM ASF_E_INVALIDHEADER}
  14938.  
  14939. //
  14940. // MessageId: ASF_E_NOCLOCKOBJECT
  14941. //
  14942. // MessageText:
  14943. //
  14944. //  The object does not have a valid clock object.%0
  14945. //
  14946.   ASF_E_NOCLOCKOBJECT              = HRESULT($C00D07E6);
  14947.   {$EXTERNALSYM ASF_E_NOCLOCKOBJECT}
  14948.  
  14949. //
  14950. // MessageId: ASF_E_UNKNOWNCLOCKTYPE
  14951. //
  14952. // MessageText:
  14953. //
  14954. //  ASF_E_UNKNOWNCLOCKTYPE
  14955. //
  14956.   ASF_E_UNKNOWNCLOCKTYPE           = HRESULT($C00D07EB);
  14957.   {$EXTERNALSYM ASF_E_UNKNOWNCLOCKTYPE}
  14958.  
  14959. //
  14960. // MessageId: ASF_E_OPAQUEPACKET
  14961. //
  14962. // MessageText:
  14963. //
  14964. //  An attempt was made to restore or access an opaque packet.%0
  14965. //
  14966.   ASF_E_OPAQUEPACKET               = HRESULT($C00D07ED);
  14967.   {$EXTERNALSYM ASF_E_OPAQUEPACKET}
  14968.  
  14969. //
  14970. // MessageId: ASF_E_WRONGVERSION
  14971. //
  14972. // MessageText:
  14973. //
  14974. //  ASF_E_WRONGVERSION
  14975. //
  14976.   ASF_E_WRONGVERSION               = HRESULT($C00D07EE);
  14977.   {$EXTERNALSYM ASF_E_WRONGVERSION}
  14978.  
  14979. //
  14980. // MessageId: ASF_E_OVERFLOW
  14981. //
  14982. // MessageText:
  14983. //
  14984. //  An attempt was made to store a value which was larger than then destination's maximum value.%0
  14985. //
  14986.   ASF_E_OVERFLOW                   = HRESULT($C00D07EF);
  14987.   {$EXTERNALSYM ASF_E_OVERFLOW}
  14988.  
  14989. //
  14990. // MessageId: ASF_E_NOTFOUND
  14991. //
  14992. // MessageText:
  14993. //
  14994. //  The object was not found.%0
  14995. //
  14996.   ASF_E_NOTFOUND                   = HRESULT($C00D07F0);
  14997.   {$EXTERNALSYM ASF_E_NOTFOUND}
  14998.  
  14999. //
  15000. // Someone else is using MessageIds 2033 & 2034, so we skip them
  15001. //
  15002. // 2033 = NS_E_NOTHING_TO_DO
  15003. // 2034 = NS_E_NO_MULTICAST
  15004.  
  15005. //
  15006. // MessageId: ASF_E_OBJECTTOOBIG
  15007. //
  15008. // MessageText:
  15009. //
  15010. //  The object is too large to be processed in the requested manner.%0
  15011. //
  15012.   ASF_E_OBJECTTOOBIG               = HRESULT($C00D07F3);
  15013.   {$EXTERNALSYM ASF_E_OBJECTTOOBIG}
  15014.  
  15015. //
  15016. // MessageId: ASF_E_UNEXPECTEDVALUE
  15017. //
  15018. // MessageText:
  15019. //
  15020. //  A value was not set as expected.%0
  15021. //
  15022.   ASF_E_UNEXPECTEDVALUE            = HRESULT($C00D07F4);
  15023.   {$EXTERNALSYM ASF_E_UNEXPECTEDVALUE}
  15024.  
  15025. //
  15026. // MessageId: ASF_E_INVALIDSTATE
  15027. //
  15028. // MessageText:
  15029. //
  15030. //  The request is not valid in the object's current state.%0
  15031. //
  15032.   ASF_E_INVALIDSTATE               = HRESULT($C00D07F5);
  15033.   {$EXTERNALSYM ASF_E_INVALIDSTATE}
  15034.  
  15035. //
  15036. // MessageId: ASF_E_NOLIBRARY
  15037. //
  15038. // MessageText:
  15039. //
  15040. //  This object does not have a valid library pointer; it was not properly created or it has been Shutdown().%0
  15041. //
  15042.   ASF_E_NOLIBRARY                  = HRESULT($C00D07F6);
  15043.   {$EXTERNALSYM ASF_E_NOLIBRARY}
  15044.  
  15045. //
  15046. // MessageId: ASF_E_ALREADYINITIALIZED
  15047. //
  15048. // MessageText:
  15049. //
  15050. //  This object has already been initialized; the setting cannot be changed.%0
  15051. //
  15052.   ASF_E_ALREADYINITIALIZED         = HRESULT($C00D07F7);
  15053.   {$EXTERNALSYM ASF_E_ALREADYINITIALIZED}
  15054.  
  15055. //
  15056. // MessageId: ASF_E_INVALIDINIT
  15057. //
  15058. // MessageText:
  15059. //
  15060. //  This object has not been initialized properly; that operation cannot be performed.%0
  15061. //
  15062.   ASF_E_INVALIDINIT                = HRESULT($C00D07F8);
  15063.   {$EXTERNALSYM ASF_E_INVALIDINIT}
  15064.  
  15065. //
  15066. // MessageId: ASF_E_NOHEADEROBJECT
  15067. //
  15068. // MessageText:
  15069. //
  15070. //  The ASF Header object could not be found.%0
  15071. //
  15072.   ASF_E_NOHEADEROBJECT             = HRESULT($C00D07F9);
  15073.   {$EXTERNALSYM ASF_E_NOHEADEROBJECT}
  15074.  
  15075. //
  15076. // MessageId: ASF_E_NODATAOBJECT
  15077. //
  15078. // MessageText:
  15079. //
  15080. //  The ASF Data object could not be found.%0
  15081. //
  15082.   ASF_E_NODATAOBJECT               = HRESULT($C00D07FA);
  15083.   {$EXTERNALSYM ASF_E_NODATAOBJECT}
  15084.  
  15085. //
  15086. // MessageId: ASF_E_NOINDEXOBJECT
  15087. //
  15088. // MessageText:
  15089. //
  15090. //  The ASF Index object could not be found.%0
  15091. //
  15092.   ASF_E_NOINDEXOBJECT              = HRESULT($C00D07FB);
  15093.   {$EXTERNALSYM ASF_E_NOINDEXOBJECT}
  15094.  
  15095. //
  15096. // MessageId: ASF_E_NOSTREAMPROPS
  15097. //
  15098. // MessageText:
  15099. //
  15100. //  A Stream Properties object with the correct stream number could not be found.%0
  15101. //
  15102.   ASF_E_NOSTREAMPROPS              = HRESULT($C00D07FC);
  15103.   {$EXTERNALSYM ASF_E_NOSTREAMPROPS}
  15104.  
  15105. //
  15106. // MessageId: ASF_E_NOFILEPROPS
  15107. //
  15108. // MessageText:
  15109. //
  15110. //  The File Properties object could not be found.%0
  15111. //
  15112.   ASF_E_NOFILEPROPS                = HRESULT($C00D07FD);
  15113.   {$EXTERNALSYM ASF_E_NOFILEPROPS}
  15114.  
  15115. //
  15116. // MessageId: ASF_E_NOLANGUAGELIST
  15117. //
  15118. // MessageText:
  15119. //
  15120. //  The Language List object could not be found.%0
  15121. //
  15122.   ASF_E_NOLANGUAGELIST             = HRESULT($C00D07FE);
  15123.   {$EXTERNALSYM ASF_E_NOLANGUAGELIST}
  15124.  
  15125. //
  15126. // MessageId: ASF_E_NOINDEXPARAMETERS
  15127. //
  15128. // MessageText:
  15129. //
  15130. //  The Index Parameters object could not be found.%0
  15131. //
  15132.   ASF_E_NOINDEXPARAMETERS          = HRESULT($C00D07FF);
  15133.   {$EXTERNALSYM ASF_E_NOINDEXPARAMETERS}
  15134.  
  15135. //
  15136. // MessageId: ASF_E_UNSUPPORTEDERRORCONCEALMENT
  15137. //
  15138. // MessageText:
  15139. //
  15140. //  The requested error concealment strategy is not supported by this component.%0
  15141. //
  15142.   ASF_E_UNSUPPORTEDERRORCONCEALMENT = HRESULT($C00D0800);
  15143.   {$EXTERNALSYM ASF_E_UNSUPPORTEDERRORCONCEALMENT}
  15144.  
  15145. //
  15146. // MessageId: ASF_E_INVALIDFLAGS
  15147. //
  15148. // MessageText:
  15149. //
  15150. //  The flags for this object or set of objects are not properly set.%0
  15151. //
  15152.   ASF_E_INVALIDFLAGS               = HRESULT($C00D0801);
  15153.   {$EXTERNALSYM ASF_E_INVALIDFLAGS}
  15154.  
  15155. //
  15156. // MessageId: ASF_E_BADDATADESCRIPTOR
  15157. //
  15158. // MessageText:
  15159. //
  15160. //  One or more data descriptors is not properly set.%0
  15161. //
  15162.   ASF_E_BADDATADESCRIPTOR          = HRESULT($C00D0802);
  15163.   {$EXTERNALSYM ASF_E_BADDATADESCRIPTOR}
  15164.  
  15165. //
  15166. // MessageId: ASF_E_BADINDEXINTERVAL
  15167. //
  15168. // MessageText:
  15169. //
  15170. //  The index has an invalid time interval (probably zero).%0
  15171. //
  15172.   ASF_E_BADINDEXINTERVAL           = HRESULT($C00D0803);
  15173.   {$EXTERNALSYM ASF_E_BADINDEXINTERVAL}
  15174.  
  15175. //
  15176. // MessageId: ASF_E_INVALIDTIME
  15177. //
  15178. // MessageText:
  15179. //
  15180. //  The given time value is not valid.%0
  15181. //
  15182.   ASF_E_INVALIDTIME                = HRESULT($C00D0804);
  15183.   {$EXTERNALSYM ASF_E_INVALIDTIME}
  15184.  
  15185. //
  15186. // MessageId: ASF_E_INVALIDINDEX
  15187. //
  15188. // MessageText:
  15189. //
  15190. //  The given index value is not valid.%0
  15191. //
  15192.   ASF_E_INVALIDINDEX               = HRESULT($C00D0805);
  15193.   {$EXTERNALSYM ASF_E_INVALIDINDEX}
  15194.  
  15195. //
  15196. // MessageId: ASF_E_STREAMNUMBERINUSE
  15197. //
  15198. // MessageText:
  15199. //
  15200. //  The specified stream number is already in use.%0
  15201. //
  15202.   ASF_E_STREAMNUMBERINUSE          = HRESULT($C00D0806);
  15203.   {$EXTERNALSYM ASF_E_STREAMNUMBERINUSE}
  15204.  
  15205. //
  15206. // MessageId: ASF_E_BADMEDIATYPE
  15207. //
  15208. // MessageText:
  15209. //
  15210. //  The specified media type does not work with this component.%0
  15211. //
  15212.   ASF_E_BADMEDIATYPE               = HRESULT($C00D0807);
  15213.   {$EXTERNALSYM ASF_E_BADMEDIATYPE}
  15214.  
  15215. //
  15216. // MessageId: ASF_E_WRITEFAILED
  15217. //
  15218. // MessageText:
  15219. //
  15220. //  The object could not be written as specified.%0
  15221. //
  15222.   ASF_E_WRITEFAILED                = HRESULT($C00D0808);
  15223.   {$EXTERNALSYM ASF_E_WRITEFAILED}
  15224.  
  15225. //
  15226. // MessageId: ASF_E_NOTENOUGHDESCRIPTORS
  15227. //
  15228. // MessageText:
  15229. //
  15230. //  The given data unit requires a larger number of descriptors to be fully parsed.%0
  15231. //
  15232.   ASF_E_NOTENOUGHDESCRIPTORS       = HRESULT($C00D0809);
  15233.   {$EXTERNALSYM ASF_E_NOTENOUGHDESCRIPTORS}
  15234.  
  15235. //
  15236. // MessageId: ASF_E_INDEXBLOCKUNLOADED
  15237. //
  15238. // MessageText:
  15239. //
  15240. //  The index entries for the specified index block have been unloaded from memory and are not available.%0
  15241. //
  15242.   ASF_E_INDEXBLOCKUNLOADED         = HRESULT($C00D080A);
  15243.   {$EXTERNALSYM ASF_E_INDEXBLOCKUNLOADED}
  15244.  
  15245. //
  15246. // MessageId: ASF_E_NOTENOUGHBANDWIDTH
  15247. //
  15248. // MessageText:
  15249. //
  15250. //  The specified bandwidth is not large enough.%0
  15251. //
  15252.   ASF_E_NOTENOUGHBANDWIDTH         = HRESULT($C00D080B);
  15253.   {$EXTERNALSYM ASF_E_NOTENOUGHBANDWIDTH}
  15254.  
  15255. //
  15256. // MessageId: ASF_E_EXCEEDEDMAXIMUMOBJECTSIZE
  15257. //
  15258. // MessageText:
  15259. //
  15260. //  The object has exceeded its maximum size.%0
  15261. //
  15262.   ASF_E_EXCEEDEDMAXIMUMOBJECTSIZE  = HRESULT($C00D080C);
  15263.   {$EXTERNALSYM ASF_E_EXCEEDEDMAXIMUMOBJECTSIZE}
  15264.  
  15265. //
  15266. // MessageId: ASF_E_BADDATAUNIT
  15267. //
  15268. // MessageText:
  15269. //
  15270. //  The given data unit is corrupted, badly formatted, or otherwise not valid.%0
  15271. //
  15272.   ASF_E_BADDATAUNIT                = HRESULT($C00D080D);
  15273.   {$EXTERNALSYM ASF_E_BADDATAUNIT}
  15274.  
  15275. //
  15276. // MessageId: ASF_E_HEADERSIZE
  15277. //
  15278. // MessageText:
  15279. //
  15280. //  The ASF header has exceeded the specified maximum size.%0
  15281. //
  15282.   ASF_E_HEADERSIZE                 = HRESULT($C00D080E);
  15283.   {$EXTERNALSYM ASF_E_HEADERSIZE}
  15284.  
  15285.  
  15286. ///////////////////////////////////////////////////////////////////////////
  15287. //
  15288. // Advanced Streaming Format (ASF) Success Codes (2000 - 2999)
  15289. //
  15290.  
  15291. //
  15292. // MessageId: ASF_S_OPAQUEPACKET
  15293. //
  15294. // MessageText:
  15295. //
  15296. //  ASF_S_OPAQUEPACKET
  15297. //
  15298.   ASF_S_OPAQUEPACKET               = HRESULT($000D07F0);
  15299.   {$EXTERNALSYM ASF_S_OPAQUEPACKET}
  15300.  
  15301.  
  15302.  
  15303. //*@@@+++@@@@******************************************************************
  15304. //
  15305. // Microsoft Windows Media
  15306. // Copyright (C) Microsoft Corporation. All rights reserved.
  15307. //
  15308. //*@@@---@@@@******************************************************************
  15309.  
  15310.   // This routine examines the file extension in the URL or file name that is passed
  15311.   // in as an argument.  The routine returns S_OK if the file extension is included in a
  15312.   // set of file extensions that the SDK is typically able to handle. or NS_E_INVALID_NAME
  15313.   // if the file extension is not included in that set.
  15314.   //
  15315.   // This routine cannot be used to determine with absolute certainty if the SDK can
  15316.   // handle a particular URL, as this cannot be known until the URL is opened.
  15317.  
  15318.   function WMCheckURLExtension(pwszURL: PWideChar): HRESULT; stdcall;
  15319.   {$EXTERNALSYM WMCheckURLExtension}
  15320.  
  15321.   // This routine examines the URL scheme that is passed in as an argument.  The routine
  15322.   // returns S_OK if the URL scheme is included in a set of URL schemes that the SDK is
  15323.   // typically able to handle. or NS_E_INVALID_NAME if the URL scheme is not included in
  15324.   // that set.
  15325.   //
  15326.   // This routine cannot be used to determine with absolute certainty if the SDK can
  15327.   // handle a particular URL, as this cannot be known until the URL is opened.
  15328.  
  15329.   function WMCheckURLScheme(pwszURLScheme: PWideChar): HRESULT; stdcall;
  15330.   {$EXTERNALSYM WMCheckURLScheme}
  15331.  
  15332.   // This routine returns S_OK if the data buffer looks like a file type that is supported
  15333.   // by the SDK.  It returns NS_E_INVALID_DATA if the data buffer cannot be handled by the SDK.
  15334.   // This routine may return a false positive, but will not return a false negative.
  15335.  
  15336.   function WMValidateData(pbData: PBYTE; var pdwDataSize: LongWord): HRESULT; stdcall;
  15337.   {$EXTERNALSYM WMValidateData}
  15338.  
  15339.   // This routine validates that a URL can be played in Offline mode.
  15340.   // The parameter pwszLanguage can be set to a RFC-1766 language ID, or to NULL if
  15341.   // any language is acceptable.
  15342.   // The output parameter pfIsAvailableOffline is set to TRUE if the URL can be
  15343.   // played in Offline mode.
  15344.  
  15345.   function WMIsAvailableOffline(pwszURL, pwszLanguage: PWideChar; out pfIsAvailableOffline: BOOL): HRESULT; stdcall;
  15346.   {$EXTERNALSYM WMIsAvailableOffline}
  15347.  
  15348.   // This function examines a file and determines whether or not it is DRM protected.
  15349.   function WMIsContentProtected(pwszFileName: PWideChar; out pfIsProtected: BOOL): HRESULT; stdcall;
  15350.   {$EXTERNALSYM WMIsContentProtected}
  15351.  
  15352.   function WMCreateCertificate(out pUnkCert: IUnknown): HRESULT; stdcall;
  15353.   {$EXTERNALSYM WMCreateCertificate}
  15354.   function WMCreateWriter(pUnkCert: IUnknown; out ppWriter: IWMWriter): HRESULT; stdcall;
  15355.   {$EXTERNALSYM WMCreateWriter}
  15356.   function WMCreateReader(pUnkCert: IUnknown; dwRights: LongWord; out ppReader: IWMReader): HRESULT; stdcall;
  15357.   {$EXTERNALSYM WMCreateReader}
  15358.   function WMCreateSyncReader(pUnkCert: IUnknown; dwRights: LongWord; out ppSyncReader: IWMSyncReader): HRESULT; stdcall;
  15359.   {$EXTERNALSYM WMCreateSyncReader}
  15360.   function WMCreateEditor(out ppEditor: IWMMetadataEditor): HRESULT; stdcall;
  15361.   {$EXTERNALSYM WMCreateEditor}
  15362.   function WMCreateIndexer(out ppIndexer: IWMIndexer): HRESULT; stdcall;
  15363.   {$EXTERNALSYM WMCreateIndexer}
  15364.   function WMCreateBackupRestorer(pCallback: IUnknown; out ppBackup: IWMLicenseBackup): HRESULT; stdcall;
  15365.   {$EXTERNALSYM WMCreateBackupRestorer}
  15366.   function WMCreateProfileManager(out ppProfileManager: IWMProfileManager): HRESULT; stdcall;
  15367.   {$EXTERNALSYM WMCreateProfileManager}
  15368.   function WMCreateWriterFileSink(out ppSink: IWMWriterFileSink ): HRESULT; stdcall;
  15369.   {$EXTERNALSYM WMCreateWriterFileSink}
  15370.   function WMCreateWriterNetworkSink(out ppSink: IWMWriterNetworkSink): HRESULT; stdcall;
  15371.   {$EXTERNALSYM WMCreateWriterNetworkSink}
  15372.   function WMCreateWriterPushSink(out ppSink: IWMWriterPushSink): HRESULT; stdcall;
  15373.   {$EXTERNALSYM WMCreateWriterPushSink}
  15374.  
  15375.  
  15376. implementation
  15377.  
  15378. const
  15379.   WMVCORE = 'WMVCORE.DLL';
  15380.  
  15381. {$IFDEF WMF9_DYNAMIC_LINK}
  15382. var
  15383.   WMVCORELib: THandle = 0;
  15384.  
  15385.   _WMCheckURLExtension       : function(pwszURL: PWideChar): HRESULT; stdcall;
  15386.   _WMCheckURLScheme          : function(pwszURLScheme: PWideChar): HRESULT; stdcall;
  15387.   _WMValidateData            : function(pbData: PBYTE; var pdwDataSize: LongWord): HRESULT; stdcall;
  15388.   _WMIsAvailableOffline      : function(pwszURL, pwszLanguage: PWideChar; out pfIsAvailableOffline: BOOL): HRESULT; stdcall;
  15389.   _WMIsContentProtected      : function(pwszFileName: PWideChar; out pfIsProtected: BOOL): HRESULT; stdcall;
  15390.   _WMCreateCertificate       : function(out pUnkCert: IUnknown): HRESULT; stdcall;
  15391.   _WMCreateWriter            : function(pUnkCert: IUnknown; out ppWriter: IWMWriter): HRESULT; stdcall;
  15392.   _WMCreateReader            : function(pUnkCert: IUnknown; dwRights: LongWord; out ppReader: IWMReader): HRESULT; stdcall;
  15393.   _WMCreateSyncReader        : function(pUnkCert: IUnknown; dwRights: LongWord; out ppSyncReader: IWMSyncReader): HRESULT; stdcall;
  15394.   _WMCreateEditor            : function(out ppEditor: IWMMetadataEditor): HRESULT; stdcall;
  15395.   _WMCreateIndexer           : function(out ppIndexer: IWMIndexer): HRESULT; stdcall;
  15396.   _WMCreateBackupRestorer    : function(pCallback: IUnknown; out ppBackup: IWMLicenseBackup): HRESULT; stdcall;
  15397.   _WMCreateProfileManager    : function(out ppProfileManager: IWMProfileManager): HRESULT; stdcall;
  15398.   _WMCreateWriterFileSink    : function(out ppSink: IWMWriterFileSink ): HRESULT; stdcall;
  15399.   _WMCreateWriterNetworkSink : function(out ppSink: IWMWriterNetworkSink): HRESULT; stdcall;
  15400.   _WMCreateWriterPushSink    : function(out ppSink: IWMWriterPushSink): HRESULT; stdcall;
  15401.  
  15402.   function WMVCORELoaded: boolean;
  15403.   begin
  15404.     Result := (WMVCORELib <> 0);
  15405.   end;
  15406.  
  15407.   function UnLoadWMVCORE: Boolean;
  15408.   begin
  15409.     Result:= True;
  15410.     if WMVCORELoaded then
  15411.     begin
  15412.       Result := FreeLibrary(WMVCORELib);
  15413.       _WMCheckURLExtension       := nil;
  15414.       _WMCheckURLScheme          := nil;
  15415.       _WMValidateData            := nil;
  15416.       _WMIsAvailableOffline      := nil;
  15417.       _WMIsContentProtected      := nil;
  15418.       _WMCreateCertificate       := nil;
  15419.       _WMCreateWriter            := nil;
  15420.       _WMCreateReader            := nil;
  15421.       _WMCreateSyncReader        := nil;
  15422.       _WMCreateEditor            := nil;
  15423.       _WMCreateIndexer           := nil;
  15424.       _WMCreateBackupRestorer    := nil;
  15425.       _WMCreateProfileManager    := nil;
  15426.       _WMCreateWriterFileSink    := nil;
  15427.       _WMCreateWriterNetworkSink := nil;
  15428.       _WMCreateWriterPushSink    := nil;
  15429.       WMVCORELib := 0;
  15430.     end;
  15431.   end;
  15432.  
  15433.   function LoadWMVCORELib: boolean;
  15434.   begin
  15435.     Result := WMVCORELoaded;
  15436.     if (not Result) then
  15437.     begin
  15438.       WMVCORELib := LoadLibrary(WMVCORE);
  15439.       if WMVCORELoaded then
  15440.       begin
  15441.         _WMCheckURLExtension       := GetProcAddress(WMVCORELib, 'WMCheckURLExtension');
  15442.         _WMCheckURLScheme          := GetProcAddress(WMVCORELib, 'WMCheckURLScheme');
  15443.         _WMValidateData            := GetProcAddress(WMVCORELib, 'WMValidateData');
  15444.         _WMIsAvailableOffline      := GetProcAddress(WMVCORELib, 'WMIsAvailableOffline');
  15445.         _WMIsContentProtected      := GetProcAddress(WMVCORELib, 'WMIsContentProtected');
  15446.         _WMCreateCertificate       := GetProcAddress(WMVCORELib, 'WMCreateCertificate');
  15447.         _WMCreateWriter            := GetProcAddress(WMVCORELib, 'WMCreateWriter');
  15448.         _WMCreateReader            := GetProcAddress(WMVCORELib, 'WMCreateReader');
  15449.         _WMCreateSyncReader        := GetProcAddress(WMVCORELib, 'WMCreateSyncReader');
  15450.         _WMCreateEditor            := GetProcAddress(WMVCORELib, 'WMCreateEditor');
  15451.         _WMCreateIndexer           := GetProcAddress(WMVCORELib, 'WMCreateIndexer');
  15452.         _WMCreateBackupRestorer    := GetProcAddress(WMVCORELib, 'WMCreateBackupRestorer');
  15453.         _WMCreateProfileManager    := GetProcAddress(WMVCORELib, 'WMCreateProfileManager');
  15454.         _WMCreateWriterFileSink    := GetProcAddress(WMVCORELib, 'WMCreateWriterFileSink');
  15455.         _WMCreateWriterNetworkSink := GetProcAddress(WMVCORELib, 'WMCreateWriterNetworkSink');
  15456.         _WMCreateWriterPushSink    := GetProcAddress(WMVCORELib, 'WMCreateWriterPushSink');
  15457.         Result:= Assigned(_WMCheckURLExtension) and Assigned(_WMCheckURLScheme) and
  15458.           Assigned(_WMValidateData) and Assigned(_WMIsAvailableOffline) and
  15459.           Assigned(_WMIsContentProtected) and Assigned(_WMCreateCertificate) and
  15460.           Assigned(_WMCreateWriter) and Assigned(_WMCreateReader) and
  15461.           Assigned(_WMCreateSyncReader) and Assigned(_WMCreateEditor) and
  15462.           Assigned(_WMCreateIndexer) and Assigned(_WMCreateBackupRestorer) and
  15463.           Assigned(_WMCreateProfileManager) and Assigned(_WMCreateWriterFileSink) and
  15464.           Assigned(_WMCreateWriterNetworkSink) and Assigned(_WMCreateWriterPushSink);
  15465.         if not Result then UnLoadWMVCORE;
  15466.       end;
  15467.     end;
  15468.   end;
  15469.  
  15470.   function WMCheckURLExtension(pwszURL: PWideChar): HRESULT; stdcall;
  15471.   begin
  15472.     LoadWMVCORELib;
  15473.     Result := _WMCheckURLExtension(pwszURL);
  15474.   end;
  15475.  
  15476.   function WMCheckURLScheme(pwszURLScheme: PWideChar): HRESULT; stdcall;
  15477.   begin
  15478.     LoadWMVCORELib;
  15479.     Result := _WMCheckURLScheme(pwszURLScheme);
  15480.   end;
  15481.  
  15482.   function WMValidateData(pbData: PBYTE; var pdwDataSize: LongWord): HRESULT; stdcall;
  15483.   begin
  15484.     LoadWMVCORELib;
  15485.     Result := _WMValidateData(pbData, pdwDataSize);
  15486.   end;
  15487.  
  15488.   function WMIsAvailableOffline(pwszURL, pwszLanguage: PWideChar; out pfIsAvailableOffline: BOOL): HRESULT; stdcall;
  15489.   begin
  15490.     LoadWMVCORELib;
  15491.     Result := _WMIsAvailableOffline(pwszURL, pwszLanguage, pfIsAvailableOffline);
  15492.   end;
  15493.  
  15494.   function WMIsContentProtected(pwszFileName: PWideChar; out pfIsProtected: BOOL): HRESULT; stdcall;
  15495.   begin
  15496.     LoadWMVCORELib;
  15497.     Result := _WMIsContentProtected(pwszFileName, pfIsProtected);
  15498.   end;
  15499.  
  15500.   function WMCreateCertificate(out pUnkCert: IUnknown): HRESULT; stdcall;
  15501.   begin
  15502.     LoadWMVCORELib;
  15503.     Result := _WMCreateCertificate(pUnkCert);
  15504.   end;
  15505.  
  15506.   function WMCreateWriter(pUnkCert: IUnknown; out ppWriter: IWMWriter): HRESULT; stdcall;
  15507.   begin
  15508.     LoadWMVCORELib;
  15509.     Result := _WMCreateWriter(pUnkCert, ppWriter);
  15510.   end;
  15511.  
  15512.   function WMCreateReader(pUnkCert: IUnknown; dwRights: LongWord; out ppReader: IWMReader): HRESULT; stdcall;
  15513.   begin
  15514.     LoadWMVCORELib;
  15515.     Result := _WMCreateReader(pUnkCert, dwRights, ppReader);
  15516.   end;
  15517.  
  15518.   function WMCreateSyncReader(pUnkCert: IUnknown; dwRights: LongWord; out ppSyncReader: IWMSyncReader): HRESULT; stdcall;
  15519.   begin
  15520.     LoadWMVCORELib;
  15521.     Result := _WMCreateSyncReader(pUnkCert, dwRights, ppSyncReader);
  15522.   end;
  15523.  
  15524.   function WMCreateEditor(out ppEditor: IWMMetadataEditor): HRESULT; stdcall;
  15525.   begin
  15526.     LoadWMVCORELib;
  15527.     Result := WMCreateEditor(ppEditor);
  15528.   end;
  15529.  
  15530.   function WMCreateIndexer(out ppIndexer: IWMIndexer): HRESULT; stdcall;
  15531.   begin
  15532.     LoadWMVCORELib;
  15533.     Result := _WMCreateIndexer(ppIndexer);
  15534.   end;
  15535.  
  15536.   function WMCreateBackupRestorer(pCallback: IUnknown; out ppBackup: IWMLicenseBackup): HRESULT; stdcall;
  15537.   begin
  15538.     LoadWMVCORELib;
  15539.     Result := _WMCreateBackupRestorer(pCallback, ppBackup);
  15540.   end;
  15541.  
  15542.   function WMCreateProfileManager(out ppProfileManager: IWMProfileManager): HRESULT; stdcall;
  15543.   begin
  15544.     LoadWMVCORELib;
  15545.     Result := _WMCreateProfileManager(ppProfileManager);
  15546.   end;
  15547.  
  15548.   function WMCreateWriterFileSink(out ppSink: IWMWriterFileSink ): HRESULT; stdcall;
  15549.   begin
  15550.     LoadWMVCORELib;
  15551.     Result := _WMCreateWriterFileSink(ppSink);
  15552.   end;
  15553.  
  15554.   function WMCreateWriterNetworkSink(out ppSink: IWMWriterNetworkSink): HRESULT; stdcall;
  15555.   begin
  15556.     LoadWMVCORELib;
  15557.     Result := _WMCreateWriterNetworkSink(ppSink);
  15558.   end;
  15559.  
  15560.   function WMCreateWriterPushSink(out ppSink: IWMWriterPushSink): HRESULT; stdcall;
  15561.   begin
  15562.     LoadWMVCORELib;
  15563.     Result := _WMCreateWriterPushSink(ppSink);
  15564.   end;
  15565.  
  15566. {$ELSE}
  15567.   function WMCheckURLExtension; external WMVCORE name 'WMCheckURLExtension';
  15568.   function WMCheckURLScheme; external WMVCORE name 'WMCheckURLScheme';
  15569.   function WMValidateData; external WMVCORE name 'WMValidateData';
  15570.   function WMIsAvailableOffline; external WMVCORE name 'WMIsAvailableOffline';
  15571.  
  15572.   function WMIsContentProtected; external WMVCORE name 'WMIsContentProtected';
  15573.   function WMCreateCertificate; external WMVCORE name 'WMCreateCertificate';
  15574.   function WMCreateWriter; external WMVCORE name 'WMCreateWriter';
  15575.   function WMCreateReader; external WMVCORE name 'WMCreateReader';
  15576.   function WMCreateSyncReader; external WMVCORE name 'WMCreateSyncReader';
  15577.   function WMCreateEditor; external WMVCORE name 'WMCreateEditor';
  15578.   function WMCreateIndexer; external WMVCORE name 'WMCreateIndexer';
  15579.   function WMCreateBackupRestorer; external WMVCORE name 'WMCreateBackupRestorer';
  15580.   function WMCreateProfileManager; external WMVCORE name 'WMCreateProfileManager';
  15581.   function WMCreateWriterFileSink; external WMVCORE name 'WMCreateWriterFileSink';
  15582.   function WMCreateWriterNetworkSink; external WMVCORE name 'WMCreateWriterNetworkSink';
  15583.   function WMCreateWriterPushSink; external WMVCORE name 'WMCreateWriterPushSink';
  15584. {$ENDIF}
  15585.  
  15586. initialization
  15587. {$IFDEF WMF9_DYNAMIC_LINK}
  15588.   _WMCheckURLExtension       := nil;
  15589.   _WMCheckURLScheme          := nil;
  15590.   _WMValidateData            := nil;
  15591.   _WMIsAvailableOffline      := nil;
  15592.   _WMIsContentProtected      := nil;
  15593.   _WMCreateCertificate       := nil;
  15594.   _WMCreateWriter            := nil;
  15595.   _WMCreateReader            := nil;
  15596.   _WMCreateSyncReader        := nil;
  15597.   _WMCreateEditor            := nil;
  15598.   _WMCreateIndexer           := nil;
  15599.   _WMCreateBackupRestorer    := nil;
  15600.   _WMCreateProfileManager    := nil;
  15601.   _WMCreateWriterFileSink    := nil;
  15602.   _WMCreateWriterNetworkSink := nil;
  15603.   _WMCreateWriterPushSink    := nil;
  15604. {$ENDIF}
  15605.  
  15606. finalization
  15607. {$IFDEF WMF9_DYNAMIC_LINK}
  15608.   UnLoadWMVCORE;
  15609. {$ENDIF}
  15610.  
  15611. end.
  15612.  
  15613.  
  15614.